/* TOP-only continuation and reading hierarchy. Shared Ratings styles are unchanged. */
.home-page .home-rating-overview .home-desktop-preview{max-height:44px;overflow:hidden;pointer-events:none;user-select:none;opacity:.55;mask-image:linear-gradient(to bottom,#000,transparent)}
.home-page .home-rating-overview .home-rating-surface>.home-rating-more{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 12px;margin:12px;border:1px solid #e9bbc4;border-radius:9px;background:#fff4f6;color:var(--red-dark);font-size:14px;font-weight:700;line-height:1.6;text-align:center;text-decoration:none}
.home-page .home-rating-overview .home-rating-surface>.home-rating-more:hover{background:#ffe8ee;border-color:#d68497}
.home-page .home-rating-overview .home-rating-surface>.home-rating-more:focus-visible{outline:3px solid var(--red-dark);outline-offset:2px;background:#ffe8ee}
@media(min-width:768px){.home-page .home-rating-overview .home-rating-surface>.home-rating-more{margin-top:auto}.home-page .home-rating-overview .home-desktop-preview{margin-bottom:12px}}
@media(max-width:767px){
 .home-page .home-rating-overview .home-desktop-preview{display:none}
 .home-page .home-mobile-ratings .ratings-table td[data-label="企業"] a{color:var(--red-dark);font-weight:700}
 .home-page .home-mobile-ratings .ratings-table td[data-label="証券会社"] a{color:var(--red-dark);font-weight:400}
 .home-page .home-mobile-ratings .ratings-table td[data-label="格付け"],.home-page .home-mobile-ratings .ratings-table td[data-label="目標株価"]{color:var(--ink)}
 .home-page .home-mobile-ratings .ratings-table td[data-label="格付け"] strong,.home-page .home-mobile-ratings .ratings-table .history-target-after{font-weight:700}
 .home-page .home-mobile-ratings .ratings-table td[data-label="企業"] a:hover,.home-page .home-mobile-ratings .ratings-table td[data-label="証券会社"] a:hover{text-decoration:underline;text-underline-offset:3px}
}

/* Match /ratings company and broker link red on both TOP lists and widths. */
.home-page .home-rating-overview .home-rating-identity strong,
.home-page .home-rating-overview .home-rating-identity .company-code,
.home-page .home-rating-overview .home-rating-broker,
.home-page .home-mobile-ratings .ratings-table td[data-label="企業"] a,
.home-page .home-mobile-ratings .ratings-table td[data-label="企業"] .company-code,
.home-page .home-mobile-ratings .ratings-table td[data-label="証券会社"] a{color:var(--red-dark)}

/* Keep concentrated update counts black and bold at every viewport width. */
.home-page .home-rating-overview .home-concentrated-meta>strong{color:#000;font-weight:700}

/* TOP-only daily maximum list. Existing tables and the two lists above are untouched. */
.home-page .home-tp-highest .section-heading{margin-bottom:8px}
.home-page .home-highest-description{margin:0 0 12px}
.home-page .home-highest-table th:nth-child(1){width:14%}
.home-page .home-highest-table th:nth-child(2){width:28%}
.home-page .home-highest-table th:nth-child(3){width:20%}
.home-page .home-highest-table th:nth-child(4){width:38%}
.home-page .home-highest-table td{overflow-wrap:anywhere}
.home-page .home-highest-company a{font-weight:700}
.home-page .home-highest-company .company-code{color:var(--red-dark)}
.home-page .home-highest-date{font-size:12px}
.home-page .home-highest-mobile-punctuation{display:none}
.home-page .home-highest-table .home-highest-broker{white-space:normal}
.home-page .home-highest-direction{display:inline-block;margin-left:5px;vertical-align:baseline}
.home-page .home-highest-direction .pill{white-space:nowrap}
.home-page .home-highest-current{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 10px}
.home-page .home-highest-value{white-space:nowrap;color:var(--ink)}
.home-page .home-highest-excess{white-space:nowrap;font-size:13px;font-weight:600;color:var(--ink)}
.home-page .home-highest-previous{min-width:0;max-width:100%;color:var(--muted);font-size:12px;white-space:normal;overflow-wrap:anywhere}
@media(max-width:767px){
 .home-page .home-tp-highest .ratings-table-wrap{overflow:hidden;background:white;border:1px solid var(--line);border-radius:var(--radius)}
 .home-page .home-highest-table,.home-page .home-highest-table tbody{display:block;width:100%}
 .home-page .home-highest-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
 .home-page .home-highest-table tbody{border-top:1px solid var(--line)}
 .home-page .home-highest-table tbody:first-of-type{border-top:0}
 .home-page .home-highest-table tbody:nth-of-type(n+8){display:none}
 .home-page .home-highest-table tbody tr{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr) max-content;grid-template-areas:'company company date' 'broker comparison comparison';gap:4px 12px;padding:12px;border:0;border-radius:0;margin:0;background:transparent}
 .home-page .home-highest-table tbody tr.home-highest-continuation{grid-template-areas:'broker comparison comparison';padding-top:0}
 .home-page .home-highest-table td{display:block;min-width:0;padding:0;border:0}
 .home-page .home-highest-table td:before{content:attr(data-label);display:block;margin:0 0 3px;font-size:12px;font-weight:600;line-height:1.6;color:var(--muted)}
 .home-page .home-highest-table .home-highest-company:before,.home-page .home-highest-table .home-highest-date:before{display:inline-block;margin:0 8px 0 0}
 .home-page .home-highest-table .home-highest-company{grid-area:company}
 .home-page .home-highest-table .home-highest-date{grid-area:date;align-self:start;justify-self:end;color:var(--muted);text-align:right;white-space:nowrap}
 .home-page .home-highest-table .home-highest-broker{grid-area:broker}
 .home-page .home-highest-table .home-highest-comparison{grid-area:comparison}
 .home-page .home-highest-table .home-highest-comparison:before{display:none}
 .home-page .home-highest-current{display:block}
 .home-page .home-highest-current:before{content:"今回TP";display:inline-block;white-space:nowrap;margin-right:6px;font-size:12px;font-weight:600;color:var(--muted)}
 .home-page .home-highest-mobile-punctuation{display:inline}
 .home-page .home-highest-previous{display:block;margin-top:3px}
}
