/* ガイセレ公開ランキング：コトイエナビの参考デザインに寄せた追加ブロック。既存カードには一切適用しない。 */
.gkrc-wrap{max-width:1100px;margin:30px auto 42px;color:#333;font-family:inherit;clear:both;box-sizing:border-box}
.gkrc-wrap *{box-sizing:border-box}
.gkrc-talk{display:flex;align-items:flex-end;gap:16px;margin:4px 0 18px}
.gkrc-woman{flex:0 0 110px;align-self:flex-end;min-width:0}
.gkrc-woman img{width:100%;height:auto;display:block;transform:scaleX(-1)}
.gkrc-talk-card{position:relative;flex:1;min-width:0;background:#fff;border:1px solid #d7e2c8;border-radius:20px;padding:20px 24px 22px}
.gkrc-talk-card:before{content:"";position:absolute;left:-11px;bottom:34px;width:18px;height:18px;background:#fff;border-left:1px solid #d7e2c8;border-bottom:1px solid #d7e2c8;transform:rotate(45deg)}
.gkrc-heading{font-size:16px;font-weight:800;line-height:1.85;color:#171717;margin:0 0 18px}
.gkrc-emph{color:#f43e30;font-weight:800;position:relative;display:inline-block;padding-bottom:7px}
.gkrc-emph:after{content:"";position:absolute;left:0;right:0;bottom:0;height:7px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M0 4 Q3 0 6 4 T12 4 T18 4 T24 4' fill='none' stroke='%23d7a71d' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left bottom}
.gkrc-text{font-size:14px;line-height:1.9;color:#333;margin:10px 0 16px}
.gkrc-graph{display:block;max-width:520px;margin:5px auto 0;text-align:center}
.gkrc-graph img{display:block;margin:auto;width:100%;max-width:100%;height:auto}
.gkrc-graph-credit{font-size:10px;color:#999;text-align:right;margin:0 2% 10px}
.gkrc-bottom{margin-top:12px;margin-bottom:0}
.gkrc-table-scroller{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:8px 0}
.gkrc-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;line-height:1.65;background:#fff}
.gkrc-table caption{caption-side:top;text-align:left;font-size:13px;font-weight:800;line-height:1.55;color:#292929;margin:0;padding:4px 0 9px}
.gkrc-table th,.gkrc-table td{border:1px solid #9dcc82;padding:9px 8px;vertical-align:top;overflow-wrap:anywhere}
.gkrc-table thead th{background:#e4f1db;color:#806016;font-weight:800;text-align:left}
.gkrc-table th:nth-child(1){width:80px}
.gkrc-table th:nth-child(2){width:150px}
.gkrc-table td:first-child{text-align:center;vertical-align:top}
.gkrc-rank{display:inline-flex;justify-content:center;align-items:center;width:50px;height:29px;border-radius:99px;color:#fff;font-weight:800;font-size:12px}
.gkrc-rank-1{background:linear-gradient(180deg,#e0c257 0%,#cb9f23 55%,#b18517 100%);border:1px solid #c4951c}
.gkrc-rank-2{background:linear-gradient(180deg,#cfd5dc,#9da6b0);border:1px solid #abb4be}
.gkrc-rank-3{background:linear-gradient(180deg,#d89551,#ad6220);border:1px solid #af702e}
.gkrc-rank-4,.gkrc-rank-5,.gkrc-rank-other{background:linear-gradient(180deg,#f3efdf,#e8ddbc);border:1px solid #c9b781;color:#816a2d}
.gkrc-vendor a,.gkrc-vendor strong{display:block;color:#58aeb8;font-weight:800;line-height:1.5;text-decoration:none}
.gkrc-vendor a:hover{text-decoration:underline}
.gkrc-score{display:inline-block;background:#fbf6ea;border:1px solid #e6d8b2;border-left:3px solid #c89a2b;border-radius:4px;font-size:11px;font-weight:700;color:#846217;line-height:1.3;padding:3px 5px;margin-top:6px}
.gkrc-feature{font-size:12px;line-height:1.72}
.gkrc-table .gkrc-hall-row td{background:linear-gradient(180deg,#fffdf7,#f5edd0 65%,#f2e6bd);border-color:#d9c279}
.gkrc-table-gold{width:57px;height:auto;display:block;margin:0 auto 2px;filter:drop-shadow(0 3px 5px #97702a44);animation:gkrc-gold-hover 3.8s ease-in-out infinite}
.gkrc-hall-row td:first-child small{display:block;font-size:9px;color:#b28314;line-height:1.3}
.gkrc-hall-name{display:block;color:#de7715;font-size:13px}
.gkrc-hall-type{display:block;font-size:11px;color:#a87321}
.gkrc-hall-row td:last-child small{display:block;color:#9e8866;font-size:10px;margin-top:4px}
.gkrc-note{font-size:10px;color:#909090;line-height:1.75;margin:7px 0 27px}
.gkrc-hall{position:relative;background:#fffcf6;border:2px solid #ffc400;border-radius:15px;padding:13px 18px 26px;box-shadow:0 1px 14px rgba(207,162,0,.2);margin:25px 0 7px}
.gkrc-hall-head{display:flex;align-items:center;border-bottom:1px solid #ffb12a;padding:0 0 6px;gap:10px;min-height:51px}
.gkrc-hall-head img{width:58px;height:auto;filter:drop-shadow(0 3px 8px #90651e55)}
.gkrc-hall-head h2{margin:0!important;padding:0!important;background:transparent!important;border:0!important;font-size:16px!important;line-height:1.5!important;color:#ed6d00!important;font-weight:800!important}
/* Housing mockup: public rendering uses the SAME device width as admin preview. */
#gkrc-comparison .gkrc-mockup{display:flex;align-items:center;justify-content:center;padding:22px 8px 12px;max-width:100%}
#gkrc-comparison .gkrc-mockup img{display:block;position:static;width:255px;min-width:0;max-width:100%;height:auto;max-height:none;object-fit:contain;margin:0 auto}
@media(max-width:767px){#gkrc-comparison .gkrc-mockup img{width:200px}}
.gkrc-hall p{font-size:13px;line-height:1.95;color:#333;margin:17px 0 8px}
.gkrc-more{font-weight:800!important;color:#b38000!important;font-size:12px;text-decoration:underline!important;text-underline-offset:4px}
.gkrc-arrows{display:flex;justify-content:center;height:135px;align-items:flex-start;overflow:hidden}
.gkrc-arrows svg{display:block;width:min(100%,360px);height:auto}
.gkrc-lp-cta{max-width:760px;text-align:center;margin:4px auto 20px;font-size:14px;color:#111;font-weight:800}
.gkrc-lp-cta a{display:flex;justify-content:center;align-items:center;width:100%;min-height:110px;border-radius:999px;background:#faa000;color:#fff!important;font-size:24px;font-weight:800;text-decoration:none!important;box-shadow:0 6px 4px #0002;transition:filter .15s}
.gkrc-lp-cta a:hover{filter:brightness(1.05)}
@keyframes gkrc-gold-hover{0%,50%,100%{transform:translateY(0)}25%{transform:translateY(-2px)}75%{transform:translateY(-1px)}}
@media (max-width:767px){
 .gkrc-wrap{margin:18px auto 32px}
 .gkrc-talk{gap:10px;align-items:flex-end}
 .gkrc-woman{flex-basis:62px}
 .gkrc-talk-card{padding:10px 11px;border-radius:17px}
 .gkrc-talk-card:before{left:-8px;bottom:24px;width:14px;height:14px}
 .gkrc-heading{font-size:12px;line-height:1.8;margin:0 0 12px}
 .gkrc-text{font-size:11px;line-height:1.95;margin:8px 0 12px}
 .gkrc-emph{padding-bottom:5px}
 .gkrc-emph:after{height:5px;background-size:20px 6px}
 .gkrc-graph-credit{font-size:8px}
 .gkrc-table{font-size:11px}
 .gkrc-table th,.gkrc-table td{padding:6px}
 .gkrc-table th:nth-child(1){width:70px}
 .gkrc-table th:nth-child(2){width:96px}
 .gkrc-table caption{font-size:11px}
 .gkrc-rank{width:48px;height:27px;font-size:10px}
 .gkrc-feature{font-size:11px}
 .gkrc-vendor a,.gkrc-vendor strong{font-size:10px}
 .gkrc-score{font-size:9px;padding:2px 4px}
 .gkrc-hall-head h2{font-size:13px!important}
 .gkrc-hall-head img{width:50px}
 .gkrc-hall{padding:12px 11px 19px}
 .gkrc-hall p{font-size:11px}
 .gkrc-arrows{height:105px}.gkrc-arrows svg{max-width:280px}
 .gkrc-lp-cta a{font-size:19px;min-height:75px}
}
@media(prefers-reduced-motion:reduce){.gkrc-table-gold{animation:none}.gkrc-lp-cta a{transition:none}}

/* v0.2.1 admin-only preview status; not rendered for ordinary visitors. */
.gkrc-preview-diagnostic{background:#252525;border-radius:7px;color:#fff;padding:9px 13px;margin:15px auto 7px;max-width:1100px;font-size:12px;line-height:1.7;clear:both}
.gkrc-no-company{padding:18px!important;line-height:1.9;color:#7d664a;font-size:12px}

/* v0.3.0 admin-in-page preview; no effect on public visitors. */
#gkrc-preview-host{display:block;max-width:1100px;margin-left:auto;margin-right:auto;scroll-margin-top:75px;}
#gkrc-preview-host .gkrc-wrap{width:100%;max-width:100%;}
#gkrc-admin-toggle button:disabled{opacity:.6;cursor:default;}

/* v0.4.0: Kotoie screenshots parity, all scoped to preview host only. */
#gkrc-preview-host{max-width:1200px;scroll-margin-top:75px;margin-top:22px;margin-bottom:24px}
#gkrc-preview-host .gkrc-wrap{max-width:1100px;margin:0 auto 32px}
#gkrc-preview-host .gkrc-talk{align-items:flex-end;gap:16px;margin:0 0 20px}
#gkrc-preview-host .gkrc-woman{flex:0 0 105px;width:105px;position:relative;align-self:flex-end;display:flex;align-items:flex-end;justify-content:center}
#gkrc-preview-host .gkrc-woman img{display:none;width:100%;height:auto;transform:none;object-fit:contain;max-height:205px}
#gkrc-preview-host .gkrc-woman img[src]:not([src=""]){display:block}
#gkrc-preview-host .gkrc-mascot-missing{display:inline-block;font-size:10px;background:#f5f9f5;color:#45645f;padding:8px;border-radius:9px}
#gkrc-preview-host .gkrc-woman:has(img[src]:not([src=""])) .gkrc-mascot-missing{display:none}
#gkrc-preview-host .gkrc-talk-card{border:1px solid #d7e2c8;border-radius:19px;background:#fff;padding:20px 22px 24px}
#gkrc-preview-host .gkrc-talk-card:before{bottom:47px;left:-11px}
#gkrc-preview-host .gkrc-graph{position:relative;max-width:600px;margin:8px auto 0}
#gkrc-preview-host .gkrc-graph img{width:100%}
#gkrc-preview-host .gkrc-graph-credit{display:block;position:relative;max-width:600px;margin:-30px auto 30px;padding-right:2%;text-align:right;font-size:10px;line-height:1.5;color:#aeb0b2;z-index:1}
#gkrc-preview-host .gkrc-table th,#gkrc-preview-host .gkrc-table td{border-color:#91c56c}
#gkrc-preview-host .gkrc-table caption{font-size:13px;font-weight:800;color:#171717}
#gkrc-preview-host .gkrc-medal-art{display:flex;align-items:center;justify-content:center;position:relative;width:69px;height:70px;margin:2px auto 2px;background:radial-gradient(ellipse at 50% 30%,#fff9d6 0%,#eacf75 18%,#a77f2d 45%,#e1c06e 68%,#896022 100%);border:3px ridge #c4a05c;box-shadow:inset 0 0 0 4px #f1d994,0 2px 7px #9680469c;color:#9b711b;font-size:33px;font-weight:900;line-height:1}
#gkrc-preview-host .gkrc-medal-art:before,#gkrc-preview-host .gkrc-medal-art:after{content:'❧';position:absolute;top:13px;font-size:25px;color:#e7d59f;line-height:1}
#gkrc-preview-host .gkrc-medal-art:before{left:1px;transform:rotate(-40deg)}
#gkrc-preview-host .gkrc-medal-art:after{right:1px;transform:scaleX(-1) rotate(-40deg)}
#gkrc-preview-host .gkrc-medal-art i{position:absolute;bottom:6px;left:0;right:0;font-size:9px;font-style:normal;letter-spacing:1px}
#gkrc-preview-host .gkrc-anniversary{display:block;color:#ac7c08;font-size:10px;font-weight:700;line-height:1.3;white-space:nowrap}
#gkrc-preview-host .gkrc-hall-rank{display:block;color:#b17c0b;font-size:13px;line-height:1.4;white-space:nowrap}
#gkrc-preview-host .gkrc-hall-row .gkrc-hall-name{color:#55b9c2}
#gkrc-preview-host .gkrc-hall-row td{background:linear-gradient(115deg,#fff9e1 0%,#fcf3d2 80%,#fff9ee 100%)}
#gkrc-preview-host .gkrc-hall{border:3px solid #ffbf00;border-radius:17px;background:#fffbf4;box-shadow:0 0 17px #ffc00055;padding:15px 18px 25px;margin:26px 0 6px}
#gkrc-preview-host .gkrc-hall-head{border-bottom:1px solid #ff8300;padding:0 0 7px;min-height:48px;gap:12px}
#gkrc-preview-host .gkrc-hall-head h2{font-size:20px!important;color:#f36f00!important;letter-spacing:0.01em}
#gkrc-preview-host .gkrc-html-chip{flex:0 0 76px;display:flex;flex-direction:column;align-items:center;justify-content:center;width:76px;height:52px;border:3px solid #f1eac6;border-radius:11px;background:linear-gradient(165deg,#d9c45d,#ad923b 68%,#97792c);box-shadow:0 2px 7px #8565224b;color:white!important;text-align:center;line-height:1.2}
#gkrc-preview-host .gkrc-html-chip-top{font-size:10px;font-weight:900;letter-spacing:1px;color:#fff100}
#gkrc-preview-host .gkrc-html-chip-bottom{font-size:15px;font-weight:900;white-space:nowrap;color:#fff}
#gkrc-preview-host .gkrc-arrows{height:139px;margin-top:2px;align-items:flex-start}
#gkrc-preview-host .gkrc-arrows svg{width:min(100%,370px)}
#gkrc-preview-host .gkrc-lp-cta{max-width:760px;font-weight:800;font-size:17px;margin-top:0}
#gkrc-preview-host .gkrc-cta-catch{font-size:18px;line-height:1.1;color:#171717;font-weight:900;letter-spacing:-.5px}
#gkrc-preview-host .gkrc-lp-cta a{font-size:27px;min-height:130px;border:1px solid #f5ad06;box-shadow:0 4px 5px #0003;color:#fff!important;background:#ffa000;border-radius:100px}
#gkrc-preview-host .gkrc-link-note{font-size:10px;text-align:center;line-height:1.4;color:#a2a2a2;font-weight:400;margin:8px 0 0}
#gkrc-preview-host .gkrc-hall p{font-size:13px}
@media(max-width:767px){
 #gkrc-preview-host{max-width:100%;margin-top:12px}
 #gkrc-preview-host .gkrc-talk{gap:6px}
 #gkrc-preview-host .gkrc-woman{flex-basis:55px;width:55px}
 #gkrc-preview-host .gkrc-woman img{max-height:145px}
 #gkrc-preview-host .gkrc-talk-card{padding:12px 10px 16px}
 #gkrc-preview-host .gkrc-heading{font-size:12px}
 #gkrc-preview-host .gkrc-text{font-size:11px}
 #gkrc-preview-host .gkrc-graph-credit{font-size:8px;margin:-20px auto 18px}
 #gkrc-preview-host .gkrc-table th:nth-child(1){width:66px}
 #gkrc-preview-host .gkrc-table th:nth-child(2){width:92px}
 #gkrc-preview-host .gkrc-medal-art{width:45px;height:45px;font-size:24px}
 #gkrc-preview-host .gkrc-medal-art i{font-size:6px;bottom:3px}
 #gkrc-preview-host .gkrc-medal-art:before,#gkrc-preview-host .gkrc-medal-art:after{font-size:14px}
 #gkrc-preview-host .gkrc-anniversary{font-size:8px}
 #gkrc-preview-host .gkrc-hall-rank{font-size:10px}
 #gkrc-preview-host .gkrc-html-chip{flex-basis:65px;width:65px;height:44px}
 #gkrc-preview-host .gkrc-html-chip-top{font-size:9px}
 #gkrc-preview-host .gkrc-html-chip-bottom{font-size:12px}
 #gkrc-preview-host .gkrc-hall-head h2{font-size:14px!important;overflow-wrap:anywhere}
 #gkrc-preview-host .gkrc-arrows{height:105px}
 #gkrc-preview-host .gkrc-arrows svg{width:285px}
 #gkrc-preview-host .gkrc-cta-catch{font-size:12px}
 #gkrc-preview-host .gkrc-lp-cta a{min-height:80px;font-size:18px}
}

/* v0.4.1 – requested three surgical corrections only, manager preview exclusive. */
#gkrc-preview-host .gkrc-graph-credit{display:block;max-width:600px;position:relative;margin:-26px auto 28px;padding-right:2%;text-align:right;font-size:10px;line-height:1.5;color:#acacae;font-weight:400}
#gkrc-preview-host .gkrc-original-medal-img{display:block;width:57px;height:74px;max-width:100%;object-fit:contain;margin:0 auto 2px;filter:drop-shadow(0 1px 2px #967d4566)}
#gkrc-preview-host .gkrc-anniversary{font-size:10px;color:#b18017;font-weight:700;white-space:nowrap;line-height:1.35}
#gkrc-preview-host .gkrc-hall-rank{font-size:13px;color:#b17c0b;line-height:1.3;font-weight:800;white-space:nowrap}
/* Kotoie-like DOM/CSS award chip: champagne frame, recessed golden body, inset ribbon. */
#gkrc-preview-host .gkrc-hall-head{gap:13px;padding-bottom:7px;min-height:63px}
#gkrc-preview-host .gkrc-html-chip{
 flex:0 0 102px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex-direction:column;
 width:102px;height:51px;min-width:102px;padding:2px 5px 5px;border:3px solid #ebdf9e;border-radius:13px;
 background:linear-gradient(to bottom,#d6c261 0%,#bfa448 46%,#9c7928 100%);
 box-shadow:0 2px 8px rgba(113,85,24,.34), inset 0 1px 0 rgba(255,249,209,.65);
 text-align:center;line-height:1;position:relative;color:#fff;overflow:visible;
}
#gkrc-preview-host .gkrc-html-chip-top{
 display:flex;align-items:center;justify-content:center;min-width:62px;height:17px;padding:1px 5px 0;
 border-radius:3px;background:linear-gradient(#c0af33,#a18f21);
 font-size:10px!important;font-weight:900;letter-spacing:1px;color:#fff626!important;line-height:1;
}
#gkrc-preview-host .gkrc-html-chip-bottom{
 display:block;white-space:nowrap;color:white!important;font-size:16px!important;font-weight:900;
 line-height:1.18;letter-spacing:1px;text-shadow:0 1px 1px rgba(104,79,17,.2);margin-top:0;
}
@media(max-width:767px){
 #gkrc-preview-host .gkrc-original-medal-img{width:43px;height:56px}
 #gkrc-preview-host .gkrc-anniversary{font-size:8px}
 #gkrc-preview-host .gkrc-hall-rank{font-size:10px}
 #gkrc-preview-host .gkrc-html-chip{flex-basis:79px;min-width:79px;width:79px;height:45px;border-radius:10px;padding:2px 2px 3px}
 #gkrc-preview-host .gkrc-html-chip-top{font-size:8px!important;min-width:55px;height:14px;letter-spacing:.5px}
 #gkrc-preview-host .gkrc-html-chip-bottom{font-size:13px!important;letter-spacing:.3px}
 #gkrc-preview-host .gkrc-hall-head{gap:9px;min-height:51px}
 #gkrc-preview-host .gkrc-graph-credit{font-size:8px;margin:-20px auto 20px}
}

/* v0.4.2: restore the previously created image in comparison table only. */
#gkrc-preview-host .gkrc-original-medal-img{width:57px;height:57px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(121,86,21,.3));}
#gkrc-preview-host .gkrc-hall-row .gkrc-hall-name.gkrc-table-jump{font-weight:800;color:#20a3b7;text-decoration:none;overflow-wrap:anywhere;display:inline;line-height:1.55;}
#gkrc-preview-host .gkrc-table-jump:hover{text-decoration:underline;}
#gkrc-refo-hall,.gkrc-ranking-scroll-target{scroll-margin-top:90px;}
@media(max-width:767px){#gkrc-preview-host .gkrc-original-medal-img{width:43px;height:43px;}#gkrc-refo-hall,.gkrc-ranking-scroll-target{scroll-margin-top:20px;}}


/* v0.4.3: reference-accurate attribution masking; preserve chart, data labels and arrows. */
#gkrc-preview-host .gkrc-graph-frame{position:relative;width:100%;max-width:600px;margin:8px auto 18px;line-height:0;isolation:isolate}
#gkrc-preview-host .gkrc-graph-frame .gkrc-graph{position:relative;display:block;width:100%;max-width:100%;margin:0;line-height:0}
#gkrc-preview-host .gkrc-graph-frame .gkrc-graph img{display:block;width:100%;height:auto;max-width:100%}
/* Original graphic has a baked-in reference credit at x~65-100%, y~89-100%.
   Cover only the credit rectangle on the display; do not mask labels/percentages. */
#gkrc-preview-host .gkrc-credit-matte{display:block;position:absolute;left:63%;right:0;bottom:0;height:13%;z-index:1;background:#fff;pointer-events:none}
#gkrc-preview-host .gkrc-graph-frame .gkrc-graph-credit{display:block;position:absolute;right:2%;bottom:2.4%;z-index:2;max-width:none;margin:0;padding:0;font-size:10px;font-weight:400;line-height:1.4;font-family:inherit;color:#aeb0b2;text-align:right;white-space:nowrap;pointer-events:none}
#gkrc-preview-host #reforan{scroll-margin-top:86px}
#gkrc-preview-host .gkrc-table-jump{cursor:pointer}
.gkrc-ranking-scroll-target{scroll-margin-top:86px}
#gkrc-preview-host .gkrc-more{display:inline-block;appearance:none;background:transparent!important;border:0!important;border-bottom:1px solid #ba850c!important;border-radius:0!important;margin:4px 0 0;padding:1px 0 2px;color:#ad780c!important;font-size:12px;font-weight:800;line-height:1.5;font-family:inherit;cursor:pointer;text-decoration:none!important;box-shadow:none!important}
#gkrc-preview-host .gkrc-more[hidden],#gkrc-preview-host .gkrc-refo-detail[hidden]{display:none!important}
#gkrc-preview-host .gkrc-refo-detail{margin:17px 0 2px;border-top:1px solid #f4dba8;padding:16px 8px 6px;background:transparent;font-size:13px;line-height:1.85;color:#373737}
#gkrc-preview-host .gkrc-refo-detail h3{margin:0 0 9px;padding:0;background:transparent;border:0;color:#5c4828;font-size:16px;font-weight:800;line-height:1.5}
#gkrc-preview-host .gkrc-refo-detail p{margin:0 0 10px;font-size:13px;line-height:1.9}
#gkrc-preview-host .gkrc-refo-detail .gkrc-detail-info{font-size:10px;color:#999}
/* Actual Kotoie CTA badge visual measurements from user's screenshot: compact 68 x 42, not v0.4.2's 102 x 51. */
#gkrc-preview-host .gkrc-hall-head{gap:12px;min-height:51px;padding-bottom:7px}
#gkrc-preview-host .gkrc-html-chip{
  display:flex;flex:0 0 68px;align-items:center;justify-content:center;flex-direction:column;
  box-sizing:border-box;width:68px;height:42px;min-width:68px;max-width:68px;
  border:2px solid #eee1a1;border-radius:11px;padding:3px 4px 4px;
  background:linear-gradient(180deg,#d5be58 0%,#bca03b 65%,#a3822b 100%);
  box-shadow:inset 0 1px 0 #f9e7a2,0 1px 5px #b9964b88,0 0 7px #ecd87a66;
  line-height:1;text-align:center;position:relative;overflow:visible;color:#fff!important;
}
#gkrc-preview-host .gkrc-html-chip-top{display:block;box-sizing:border-box;width:52px;min-width:0;height:13px;padding:1px 1px 0;border-radius:3px;
 background:linear-gradient(#aa9d22,#9d9320);color:#e9ec27!important;font-size:8px!important;line-height:12px!important;font-weight:900;letter-spacing:.5px;white-space:nowrap}
#gkrc-preview-host .gkrc-html-chip-bottom{display:block;color:#fff!important;font-size:13px!important;line-height:16px!important;font-weight:900;letter-spacing:0;white-space:nowrap;text-shadow:0 1px 1px #8b6f36;}
@media(max-width:767px){
 #gkrc-preview-host .gkrc-graph-frame .gkrc-graph-credit{font-size:8px;bottom:2%}
 #gkrc-preview-host .gkrc-html-chip{flex-basis:66px;width:66px;min-width:66px;max-width:66px;height:41px}
 #gkrc-preview-host .gkrc-html-chip-top{font-size:8px!important;width:51px}
 #gkrc-preview-host .gkrc-html-chip-bottom{font-size:12px!important}
 #gkrc-preview-host .gkrc-hall-head{gap:9px;min-height:49px}
 #gkrc-preview-host .gkrc-refo-detail h3{font-size:13px}
 #gkrc-preview-host .gkrc-refo-detail p{font-size:11px}
}

/* v0.4.4: Clean source PNG has NO embedded credit. Only HTML label may vary by site. */
#gkrc-preview-host .gkrc-credit-matte{display:none!important}
#gkrc-preview-host .gkrc-graph-frame .gkrc-graph-credit{display:block!important;position:absolute!important;right:2%!important;bottom:2.4%!important;font-size:10px!important;line-height:1.35!important;color:#aeb0b2!important;font-weight:400!important;white-space:nowrap!important}
/* Kotoie-style two-line catchphrase, kept preview-only until evidence check. */
#gkrc-preview-host .gkrc-cta-catch{font-size:18px!important;line-height:1.13!important;color:#161616!important;letter-spacing:-.4px;text-align:center;font-weight:900!important;margin:0 auto 2px!important}
#gkrc-preview-host .gkrc-detail-facts{display:grid;grid-template-columns:1fr 1fr;border:1px solid #ecd7ac;border-radius:10px;overflow:hidden;margin:13px 0 18px}
#gkrc-preview-host .gkrc-detail-facts>div{padding:10px 12px;border-bottom:1px solid #f0e4cd;min-width:0;font-size:12px}
#gkrc-preview-host .gkrc-detail-facts strong{display:block;color:#a9700e;font-weight:800;margin-bottom:5px}
#gkrc-preview-host .gkrc-detail-facts span{display:block;font-weight:400;line-height:1.7}
#gkrc-preview-host .gkrc-refo-detail h4{font-size:15px;margin:19px 0 9px;color:#5d4327;font-weight:900;border-left:3px solid #dcaa21;padding-left:10px}
#gkrc-preview-host .gkrc-refo-detail ul{list-style:disc!important;list-style-position:outside!important;padding:0 0 0 22px;margin:6px 0 16px}
#gkrc-preview-host .gkrc-refo-detail li{margin:0 0 9px;line-height:1.9;font-size:13px;color:#373737}
#gkrc-preview-host .gkrc-refo-detail li strong{color:#5d4327}
@media(max-width:767px){#gkrc-preview-host .gkrc-graph-frame .gkrc-graph-credit{font-size:8px!important}#gkrc-preview-host .gkrc-cta-catch{font-size:12px!important}#gkrc-preview-host .gkrc-detail-facts{grid-template-columns:1fr}#gkrc-preview-host .gkrc-refo-detail h4{font-size:13px}#gkrc-preview-host .gkrc-refo-detail li{font-size:11px}}

/* v0.4.5: visual warning is not part of the CTA; preview remains admin-only. */
#gkrc-preview-host .gkrc-link-note{display:none!important}
/* Intentional visual separation from the next, pre-existing Previous Month No.1 card. */
#gkrc-preview-host{margin-bottom:64px!important;padding-bottom:16px!important}
/* Gaisere company-like editorial profile: long-form copy and dotted section separators. */
#gkrc-preview-host .gkrc-refo-detail{margin:20px auto 0;padding:23px 0 6px;max-width:100%;border-top:1px solid #e8d6b4;color:#343434;font-size:16px;line-height:2;background:transparent}
#gkrc-preview-host .gkrc-service-profile{max-width:920px;margin:0 auto;padding:0 7px}
#gkrc-preview-host .gkrc-service-profile h3.gkrc-profile-title{font-size:22px!important;font-weight:800!important;line-height:1.55!important;color:#70521f!important;border:0!important;background:transparent!important;padding:0!important;margin:1px 0 21px!important;letter-spacing:.01em}
#gkrc-preview-host .gkrc-service-profile h3.gkrc-profile-heading{font-size:21px!important;font-weight:800!important;color:#73531c!important;background:transparent!important;border:0!important;border-bottom:3px dotted #e7d0a6!important;padding:0 0 16px!important;margin:39px 0 22px!important;line-height:1.6!important}
#gkrc-preview-host .gkrc-service-profile p{font-size:16px!important;color:#323232!important;line-height:2.05!important;font-weight:400!important;margin:0 0 19px!important;letter-spacing:.012em;text-align:left}
#gkrc-preview-host .gkrc-service-profile .gkrc-profile-highlight{color:#1d1d1d;font-weight:800!important;background:linear-gradient(transparent 67%,#fff3af 67%);box-decoration-break:clone;-webkit-box-decoration-break:clone}
@media(max-width:767px){
 #gkrc-preview-host{margin-bottom:37px!important;padding-bottom:11px!important}
 #gkrc-preview-host .gkrc-refo-detail{padding:18px 0 5px!important;margin-top:18px!important}
 #gkrc-preview-host .gkrc-service-profile{padding:0 3px}
 #gkrc-preview-host .gkrc-service-profile h3.gkrc-profile-title{font-size:17px!important;margin-bottom:15px!important}
 #gkrc-preview-host .gkrc-service-profile h3.gkrc-profile-heading{font-size:17px!important;margin:27px 0 16px!important;padding-bottom:11px!important;border-bottom-width:2px!important}
 #gkrc-preview-host .gkrc-service-profile p{font-size:13px!important;line-height:2!important;margin-bottom:17px!important}
}


/* v0.4.6: match Gaisere's company-introduction prose, pale-green panel, and
   two equal descriptive columns. No other ranking/card styles are modified. */
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-profile {padding:0;margin:0;}
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-lead,
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column{
  background:#f2f7f5; border-radius:12px; color:#38584d;
  padding:16px 18px; box-sizing:border-box;
}
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-lead{margin:0 0 16px;}
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-lead p,
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column p{
  margin:0 0 10px!important; padding:0!important; font-size:13px!important;
  font-weight:600; line-height:1.95!important; color:#38564b!important;
  background:none!important; border:0!important;
}
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-lead p:last-child,
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column p:last-child{margin-bottom:0!important;}
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-columns{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;
}
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column{min-width:0;}
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column h3{
  display:table!important; background:#dcefe7!important; color:#426557!important;
  font-size:13px!important;font-weight:800!important;border:0!important;
  padding:9px 15px!important; margin:-16px 0 12px -18px!important;
  border-radius:12px 12px 16px 0!important;line-height:1.45!important;
}
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column h3 span{color:#527868;margin-right:4px;}
#gkrc-preview-host .gkrc-refo-detail strong{font-weight:850!important;color:#2b4f41!important;}
#gkrc-preview-host .gkrc-mockup{display:flex;justify-content:center;align-items:center;
  padding:22px 8px 10px;min-height:90px;}
#gkrc-preview-host .gkrc-mockup img{width:auto!important;height:auto!important;max-width:min(78%,370px)!important;
  max-height:480px!important;object-fit:contain!important;display:block;}
#gkrc-preview-host .gkrc-mockup-pending{border:1px dashed #dfb464;padding:11px 15px!important;
 color:#8d661d!important;background:#fff8e9; font-size:12px!important;line-height:1.65!important;}
@media(max-width:767px){
 #gkrc-preview-host .gkrc-refo-detail .gkrc-refo-columns{grid-template-columns:1fr;gap:12px;}
 #gkrc-preview-host .gkrc-refo-detail .gkrc-refo-lead,
 #gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column{padding:13px 13px;}
 #gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column h3{margin:-13px 0 11px -13px!important;font-size:12px!important;}
 #gkrc-preview-host .gkrc-refo-detail .gkrc-refo-lead p,
 #gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column p{font-size:12px!important;line-height:1.9!important;}
 #gkrc-preview-host .gkrc-mockup img{max-width:min(94%,300px)!important;max-height:420px!important;}
}

/* v0.4.7: only show a diagnostic if the confirmed external asset fails. */
#gkrc-preview-host .gkrc-mockup-load-error{color:#9b3a28;font-size:12px;line-height:1.7;text-align:center;padding:4px 10px;max-width:600px;margin:0 auto 9px}
/* v0.4.8: the existing Gaisere company-card heading icons are SVG line drawings,
   not platform-dependent text glyphs. No inherited blue headline underline. */
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column h3{
  border-bottom:0!important;border-top:0!important;border-left:0!important;border-right:0!important;
  box-shadow:none!important;text-decoration:none!important;background-image:none!important;
}
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column h3::before,
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column h3::after{
  content:none!important;display:none!important;border:0!important;box-shadow:none!important;background:none!important;
}
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column h3 .gkrc-heading-icon{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:14px!important;height:14px!important;margin:0 5px 0 0!important;padding:0!important;
  color:#4b7667!important;vertical-align:-2px!important;line-height:1!important;
}
#gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column h3 .gkrc-heading-svg{
  display:block!important;flex:none;width:13px!important;height:13px!important;fill:none!important;
  stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
/* v0.1.1: Kotoienavi-size PHONE mockup for housing sites.
   The old Gaisere-specific 710px/560px rule was for a very WIDE transparent
   PNG canvas, NOT for narrow upright housing mockups (RKS: 435 x 877).
   It enlarged the actual phone to ~710px/560px. Restore a phone-sized
   responsive display (~255px desktop, ~200px mobile), without cropping.
   Preserve the asset, URL, source LP, and all non-mockup styles unchanged. */
#gkrc-preview-host .gkrc-mockup{
  display:flex!important;justify-content:center!important;align-items:center!important;
  max-width:100%!important;overflow:visible!important;
  padding:22px 8px 12px!important;text-align:center!important;
}
#gkrc-preview-host .gkrc-mockup img{
  display:block!important;position:static!important;left:auto!important;
  transform:none!important;flex:none!important;
  width:255px!important;min-width:0!important;max-width:100%!important;
  height:auto!important;max-height:none!important;object-fit:contain!important;
  margin:0 auto!important;padding:0!important;
}
@media(max-width:767px){
  #gkrc-preview-host .gkrc-mockup img{
    width:200px!important;min-width:0!important;max-width:100%!important;max-height:none!important;
  }
  #gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column h3 .gkrc-heading-icon{
    width:13px!important;height:13px!important;margin-right:4px!important;
  }
  #gkrc-preview-host .gkrc-refo-detail .gkrc-refo-column h3 .gkrc-heading-svg{
    width:12px!important;height:12px!important;
  }
}

/* v0.4.13: use ONE original multi-frame GIF from the Gaisere LP / Kotoie child source.
   No pseudo-motion, transforms, or per-arrow CSS animations. */
#gkrc-preview-host .gkrc-arrows{
  display:flex!important;justify-content:center!important;align-items:flex-start!important;
  margin-top:2px!important;margin-bottom:0!important;
  width:100%!important;max-width:100%!important;
  height:145px!important;overflow:hidden!important;
}
#gkrc-preview-host .gkrc-arrows .gkrc-original-arrow-gif{
  display:block!important;flex:none!important;width:min(100%, 420px)!important;
  max-width:420px!important;height:auto!important;min-height:0!important;
  margin:0 auto!important;padding:0!important;object-fit:contain!important;
  animation:none!important;transform:none!important;filter:none!important;
}
@media (max-width:767px){
  #gkrc-preview-host .gkrc-arrows{height:112px!important}
  #gkrc-preview-host .gkrc-arrows .gkrc-original-arrow-gif{width:min(100%,305px)!important;max-width:305px!important}
}

/* v0.4.11 -- Kotoie-style SERe common laurels medal and centered caption.
   Strictly restricted to preview comparison table; no other page edits. */
#gkrc-preview-host .gkrc-hall-row td:first-child {
  text-align:center!important;vertical-align:top!important;padding-left:4px!important;padding-right:4px!important;
}
#gkrc-preview-host .gkrc-hall-row td:first-child .gkrc-original-medal-img {
  display:block!important;width:57px!important;height:57px!important;max-width:100%!important;
  object-fit:contain!important;float:none!important;position:static!important;margin:0 auto 4px!important;
}
#gkrc-preview-host .gkrc-hall-row td:first-child .gkrc-anniversary,
#gkrc-preview-host .gkrc-hall-row td:first-child .gkrc-hall-rank {
  display:block!important;box-sizing:border-box!important;float:none!important;clear:both!important;
  width:100%!important;max-width:100%!important;margin:0 auto!important;
  padding:0!important;text-align:center!important;text-indent:0!important;
  line-height:1.35!important;white-space:normal!important;
}
#gkrc-preview-host .gkrc-hall-row td:first-child .gkrc-anniversary {font-size:10px!important;}
#gkrc-preview-host .gkrc-hall-row td:first-child .gkrc-hall-rank {font-size:12px!important;}
@media(max-width:767px){
  #gkrc-preview-host .gkrc-hall-row td:first-child .gkrc-original-medal-img{width:51px!important;height:51px!important;margin-bottom:3px!important;}
  #gkrc-preview-host .gkrc-hall-row td:first-child .gkrc-anniversary{font-size:8px!important;}
  #gkrc-preview-host .gkrc-hall-row td:first-child .gkrc-hall-rank{font-size:10px!important;}
}

/* v0.4.14 — source THOR child gaikou.php uses ONE intrinsic-size GIF (img.yajirusi_bottom).
   Previous 420px desktop restriction made the arrows visibly smaller than the reference.
   This layout scales the complete original GIF as one image, with proportional PC/SP sizing.
   We cannot assert exact pixel parity without inspecting the remote GIF intrinsic dimensions. */
#gkrc-preview-host .gkrc-arrows {
  height:218px!important;
  overflow:hidden!important;
  margin-top:2px!important;
  margin-bottom:0!important;
}
#gkrc-preview-host .gkrc-arrows .gkrc-original-arrow-gif {
  width:min(100%,660px)!important;
  max-width:660px!important;
  height:auto!important;
  margin-inline:auto!important;
  object-fit:contain!important;
  animation:none!important;
  transform:none!important;
}
@media (max-width:767px) {
  #gkrc-preview-host .gkrc-arrows {height:142px!important;}
  #gkrc-preview-host .gkrc-arrows .gkrc-original-arrow-gif {
    width:min(100%,460px)!important;
    max-width:460px!important;
  }
}

/* v0.4.15: close the unnecessary transparent GIF canvas between animated arrows
   and their CTA catch. Kotoie THOR child pr/gaikou.php uses negative image bottom
   margins (-350px PC / -210px mobile) for the SAME intrinsic-size GIF. Because
   our layout wraps the GIF with overflow:hidden, crop the transparent tail by
   reducing ONLY the wrapper's reserved height; keep the original GIF source,
   scale, playback, CTA, and unrelated ranking styles untouched. */
#gkrc-preview-host .gkrc-arrows {
  height:123px!important; /* desktop: 218 -> 123 = 95px less empty canvas */
  margin-bottom:0!important;
}
@media(max-width:767px){
  #gkrc-preview-host .gkrc-arrows {
    height:80px!important; /* mobile: 142 -> 80 */
    margin-bottom:0!important;
  }
}


/* v0.5.2 — Kotoienavi THOR child /functions.php > ranking_hikaku_auto_table__talk.
   Follow source mascot-to-bubble proportion and headline/body font sizes. The
   existing Gaisere mascot, chart, rank table, CTA, and approval gate are intact. */
#gkrc-preview-host .gkrc-talk{align-items:flex-end!important;gap:16px!important}
#gkrc-preview-host .gkrc-woman{flex:0 0 110px!important;width:110px!important;min-width:110px!important}
#gkrc-preview-host .gkrc-woman img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
#gkrc-preview-host .gkrc-talk-card .gkrc-heading{font-size:20px!important;line-height:1.7!important}
#gkrc-preview-host .gkrc-talk-card .gkrc-text{font-size:16px!important;line-height:1.9!important}
@media(max-width:767px){
  #gkrc-preview-host .gkrc-talk{align-items:center!important;gap:10px!important}
  #gkrc-preview-host .gkrc-woman{flex:0 0 68px!important;width:68px!important;min-width:68px!important;align-self:center!important}
  #gkrc-preview-host .gkrc-woman img{width:100%!important;height:auto!important;max-height:none!important}
  #gkrc-preview-host .gkrc-talk-card{padding:10px!important;border-radius:18px!important}
  #gkrc-preview-host .gkrc-talk-card:before{left:-10px!important;bottom:18px!important;width:16px!important;height:16px!important}
  #gkrc-preview-host .gkrc-talk-card .gkrc-heading{font-size:15px!important;line-height:1.7!important;margin-bottom:14px!important}
  #gkrc-preview-host .gkrc-talk-card .gkrc-text{font-size:14px!important;line-height:1.85!important}
}


/* v0.5.3 — directly matched to Kotoienavi THE THOR child theme CSS:
   functions.php .ranking_hikaku_auto_table__rankTopImg img (goldPlateFloat)
   and pr/gaikou.php #mirainohoken / single.php .supervisor-box222 (glowing-border).
   Target the ACTUAL DOM classes, never only the legacy unused .gkrc-table-gold.
   Scope exclusively to the optional comparison block; no Core or other UI edits. */
@keyframes gkrc-source-gold-plate-float {
  0%   {transform:translateY(0) scale(1)}
  25%  {transform:translateY(-3px) scale(1.02)}
  50%  {transform:translateY(0) scale(1)}
  75%  {transform:translateY(-2px) scale(1.01)}
  100% {transform:translateY(0) scale(1)}
}
@keyframes gkrc-source-glowing-border {
  0%   {border-color:#FF8C00;box-shadow:0 0 10px rgba(255,140,0,.5)}
  50%  {border-color:#FFD700;box-shadow:0 0 30px rgba(255,215,0,.9)}
  100% {border-color:#FF8C00;box-shadow:0 0 10px rgba(255,140,0,.5)}
}
@keyframes gkrc-source-chip-breathe {
  0%,50%,100% {transform:translateY(0) scale(1)}
  25% {transform:translateY(-2px) scale(1.025)}
  75% {transform:translateY(-1px) scale(1.01)}
}
/* 1. The medal image used in the table must float: the former selector
   .gkrc-table-gold matches no actual <img> and so never moved. */
#gkrc-preview-host .gkrc-hall-row td:first-child img.gkrc-original-medal-img {
  animation:gkrc-source-gold-plate-float 3.8s ease-in-out infinite !important;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.18)) !important;
  transform-origin:center center !important;
  will-change:transform;
}
/* 2. EXACT 3-second orange/gold glow cycle from the original theme,
   applied to the actual Reforan border and HTML award chip. */
#gkrc-preview-host section.gkrc-hall {
  animation:gkrc-source-glowing-border 3s infinite alternate ease-in-out !important;
}
#gkrc-preview-host .gkrc-hall-head .gkrc-html-chip {
  animation:gkrc-source-glowing-border 3s infinite alternate ease-in-out,
            gkrc-source-chip-breathe 3.8s ease-in-out infinite !important;
  transform-origin:center center !important;
  will-change:box-shadow,transform;
}
/* 3. The original Kotoienavi bubble layout bottoms the character on the
   whole speech-card bottom. v0.5.2's mobile align-items:center broke this. */
#gkrc-preview-host .gkrc-talk {
  align-items:flex-end !important;
}
#gkrc-preview-host .gkrc-talk > .gkrc-woman {
  align-self:flex-end !important;
  margin-top:auto !important;
  margin-bottom:0 !important;
  justify-content:flex-end !important;
}
#gkrc-preview-host .gkrc-woman img.gkrc-mascot-image {
  position:relative !important;
  bottom:0 !important;
  margin-top:auto !important;
  margin-bottom:0 !important;
  vertical-align:bottom !important;
}
@media(max-width:767px){
  #gkrc-preview-host .gkrc-talk {align-items:flex-end !important;}
  #gkrc-preview-host .gkrc-talk > .gkrc-woman {
    align-self:flex-end !important;
    margin-top:auto !important;
    margin-bottom:0 !important;
  }
}
@media(prefers-reduced-motion:reduce){
  #gkrc-preview-host .gkrc-hall-row td:first-child img.gkrc-original-medal-img,
  #gkrc-preview-host section.gkrc-hall,
  #gkrc-preview-host .gkrc-hall-head .gkrc-html-chip{animation:none !important;will-change:auto;}
}


/* v0.5.4: Kotoienavi mobile chart uses a DIFFERENT source PNG, NOT the PC PNG.
 * Verified against user-supplied THE THOR child functions.php buildTalkHtml()
 * source lines ~8069-8071, and the theme's talkGraph CSS (100% width, 520px max).
 * Keep desktop chart untouched. The source mobile PNG contains the old site's
 * baked-in credit: mask JUST its bottom-right corner and move our HTML credit
 * entirely BELOW the picture, ensuring neither label overlaps chart/data. */
@media(max-width:767px) {
  #gkrc-preview-host .gkrc-graph-frame {
    display:block!important;
    position:relative!important;
    width:100%!important;
    max-width:520px!important;
    height:auto!important;
    margin:0 auto 18px!important;
    line-height:normal!important;
    overflow:visible!important;
  }
  #gkrc-preview-host .gkrc-graph-frame .gkrc-graph {
    display:block!important;
    position:relative!important;
    width:100%!important;
    max-width:520px!important;
    margin:0 auto!important;
    padding:0!important;
    line-height:0!important;
  }
  #gkrc-preview-host .gkrc-graph-frame .gkrc-graph img {
    display:block!important;
    width:100%!important;
    max-width:520px!important;
    height:auto!important;
    margin:0 auto!important;
    padding:0!important;
    object-fit:contain!important;
  }
  /* Kotoie mobile graphic embeds its own copyright at the bottom right;
     hide ONLY that label. White matte matches the existing white bubble. */
  #gkrc-preview-host .gkrc-graph-frame .gkrc-graph::after {
    content:''!important;
    display:block!important;
    position:absolute!important;
    right:0!important;
    bottom:0!important;
    width:39%!important;
    height:8.5%!important;
    background:#fff!important;
    z-index:1!important;
    pointer-events:none!important;
  }
  /* HTML-only site label, outside the graphic, not on the chart. */
  #gkrc-preview-host .gkrc-graph-frame .gkrc-graph-credit {
    display:block!important;
    position:static!important;
    inset:auto!important;
    max-width:100%!important;
    width:100%!important;
    min-height:12px!important;
    padding:3px 3% 0!important;
    margin:0!important;
    background:transparent!important;
    text-align:right!important;
    line-height:1.35!important;
    font-size:8px!important;
    font-weight:400!important;
    color:#aeb0b2!important;
    white-space:nowrap!important;
    z-index:2!important;
  }
}
/* v0.5.4: the reference's gold badge GLOWS but does not scale or bob.
   The earlier gkrc-source-chip-breathe added a non-source size animation. */
#gkrc-preview-host .gkrc-hall-head .gkrc-html-chip {
  animation:gkrc-source-glowing-border 3s infinite alternate ease-in-out !important;
  transform:none!important;
  will-change:box-shadow,border-color!important;
}
/* v0.5.4: Kotoie reference uses a strong orange heading at desktop and a
   readable, proportionate font on mobile. Preserve heading content & spacing. */
#gkrc-preview-host .gkrc-hall-head h2 {
  font-size:20px!important;
  line-height:1.5!important;
  font-weight:800!important;
}
@media(max-width:767px){
  #gkrc-preview-host .gkrc-hall-head h2 {
    font-size:16px!important;
    line-height:1.5!important;
    letter-spacing:0!important;
    overflow-wrap:anywhere!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #gkrc-preview-host .gkrc-hall-head .gkrc-html-chip {
    animation:none!important;
    will-change:auto!important;
  }
}


/* v0.5.5 — Surgical layout changes based on the attached Kotoienavi THE THOR child
   functions.php (ranking_hikaku_auto_table__talkText / talkGraphWrap) and user's
   reference capture of the award CTA (small top line and large centered lower line).
   Only the optional Gaisere comparison preview/public widget is affected. */

/* Separate the chart from the preceding lead paragraph. Do not alter image width,
   mobile credit placement, picture masks, or bottom paragraph positioning. */
#gkrc-preview-host .gkrc-talk-card .gkrc-graph-frame {
    margin-top: 28px !important;
}
@media (max-width: 767px) {
    #gkrc-preview-host .gkrc-talk-card .gkrc-graph-frame {
        margin-top: 22px !important;
        margin-bottom: 18px !important;
    }
}

/* Kotoie visual proportion: the ribbon's lettering is legible and the lower
   おすすめ word is larger. Unlike previous versions, neither line is compressed
   to 8px on phones. The chip and headings remain a flex row. */
#gkrc-preview-host .gkrc-hall-head .gkrc-html-chip {
    flex: 0 0 92px !important;
    box-sizing: border-box !important;
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    height: 55px !important;
    padding: 4px 5px 5px !important;
    border: 0 !important;
    outline: none !important;
    background: linear-gradient(180deg,#d7c660 0%,#bca247 55%,#9a7d30 100%) !important;
    border-radius: 12px !important;
    transform: none !important;
    animation: gkrc-v055-chip-soft-glow 3s ease-in-out infinite !important;
    will-change: box-shadow !important;
}
#gkrc-preview-host .gkrc-hall-head .gkrc-html-chip-top {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 68px !important;
    min-width: 0 !important;
    height: 17px !important;
    padding: 1px 2px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    letter-spacing: .5px !important;
    color: #fff43a !important;
    text-wrap: nowrap !important;
}
#gkrc-preview-host .gkrc-hall-head .gkrc-html-chip-bottom {
    display: block !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    letter-spacing: .3px !important;
    text-align: center !important;
    color: #fff !important;
}
/* Glow without the animated orange/yellow perimeter line used accidentally
   in the previous versions. Unlike #mirainohoken (the large outer box), the
   compact award chip has no border to recolor. */
@keyframes gkrc-v055-chip-soft-glow {
  0%,100% {box-shadow: inset 0 1px 0 rgba(255,250,212,.55), 0 2px 5px rgba(116,83,32,.20), 0 0 9px rgba(246,209,84,.30);}
  50% {box-shadow: inset 0 1px 0 rgba(255,250,212,.55), 0 2px 5px rgba(116,83,32,.20), 0 0 21px rgba(255,215,80,.65);}
}
@media (max-width: 767px) {
  #gkrc-preview-host .gkrc-hall-head .gkrc-html-chip {
    flex-basis: 77px !important;
    width: 77px !important;
    min-width: 77px !important;
    max-width: 77px !important;
    height: 49px !important;
    padding: 3px 3px 4px !important;
  }
  #gkrc-preview-host .gkrc-hall-head .gkrc-html-chip-top {
    width: 59px !important;
    height: 15px !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
  }
  #gkrc-preview-host .gkrc-hall-head .gkrc-html-chip-bottom {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #gkrc-preview-host .gkrc-hall-head .gkrc-html-chip {
    animation: none !important;
    will-change: auto !important;
  }
}


/* v0.5.6 — IMPORTANT: This is the TWO-LINE CTA HEADLINE directly above
   「公式サイトはこちら」, not the small 「殿堂入り／おすすめ」 badge.
   Values matched against user-supplied THE THOR child functions.php,
   .summary-cta-box__lead: mobile 18px/24px, desktop 22px/24px.
   Scoped to the one exact element. No other visual feature is changed. */
#gkrc-preview-host .gkrc-lp-cta > .gkrc-cta-catch {
  font-size: 22px !important;
  line-height: 24px !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  text-align: center !important;
  margin: 0 0 10px !important;
}
@media (max-width: 767px) {
  #gkrc-preview-host .gkrc-lp-cta > .gkrc-cta-catch {
    font-size: 18px !important;
    line-height: 24px !important;
  }
}

/* Housing-specific final: exact Gaisere v0.5.6 layout, complete official-character gold image. */
#gkrc-preview-host .gkrc-medal-composite{display:block;position:relative;width:57px;height:57px;margin:0 auto 2px;animation:gkrcMedalFloat 3.8s ease-in-out infinite;filter:drop-shadow(0 2px 3px #88672255)}
#gkrc-preview-host .gkrc-medal-complete{display:block;width:100%;height:auto;object-fit:contain}
@keyframes gkrcMedalFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media(max-width:767px){#gkrc-preview-host .gkrc-medal-composite{width:43px;height:43px}}
@media(prefers-reduced-motion:reduce){#gkrc-preview-host .gkrc-medal-composite{animation:none}}

/* v0.1.5 Housing mobile chart: this asset has NO embedded footer attribution.
   Renovation's white corner mask must not obscure its percentage labels.
   Image sizing (100% width / max-width:520px) remains the renovation reference. */
@media(max-width:767px){
  #gkrc-preview-host .gkrc-graph-frame .gkrc-graph::after{display:none!important}
}
