/* Shared reference palette and typography, adapted to the existing components. */
:root{--brand:#283593;--brand-contrast:#fff;--surface:#fff;--surface-2:#f7f8f9;--surface-3:#f1f2f3;--text:#282a2d;--muted:#888;--muted-2:#999;--line:#f1f2f3;--hover:#f1f2f3;--accent:#283593;--accent-text:#fff;--reference-heading:#282a2d;--reference-card:transparent;--reference-card-line:#f1f2f3;--site-font-family:"SF Pro SC","SF Pro Text","SF Pro Icons","PingFang SC","Helvetica Neue",Helvetica,Arial,sans-serif}
html[data-theme="dark"]{--brand:#e6c977;--brand-contrast:#262626;--surface:#2c2e2f;--surface-2:#303234;--surface-3:#363738;--text:#b8b8b8;--muted:#888;--muted-2:#777;--line:#333537;--hover:#303234;--accent:#e6c977;--accent-text:#262626;--reference-heading:#c7c9cf;--reference-card:#303234;--reference-card-line:#333537}
body:not(.admin-backend){font-family:var(--site-font-family)!important;font-weight:400!important;line-height:1.5;-webkit-font-smoothing:antialiased}
body:not(.admin-backend) :is(button,input,select,textarea){font-family:inherit}
.front-main :is(h1,h2,h3,h4,h5,h6),.detail-identity h1,.leave-card h1{color:var(--reference-heading);font-weight:600}
.front-main .section-title h2{font-size:18px;font-weight:600}
.front-main .front-sidebar,.front-sidebar{background:var(--surface)}
.front-sidebar :is(.front-page-nav,.front-category-nav,.front-sidebar-bottom) a{color:var(--text);font-weight:400}
.front-sidebar :is(.front-page-nav,.front-category-nav,.front-sidebar-bottom) a:hover{color:var(--brand);background:var(--surface-2)}
.front-sidebar :is(.front-page-nav,.front-category-nav,.front-sidebar-bottom) a.active{color:var(--brand);background:var(--surface-2)}
html[data-theme="dark"] .front-sidebar :is(.front-page-nav,.front-category-nav,.front-sidebar-bottom) a>span:last-child{color:#888}
html[data-theme="dark"] .front-sidebar :is(.front-page-nav,.front-category-nav,.front-sidebar-bottom) a :is(svg,.utility-icon,.front-page-logo){color:#c7c9cf}
.front-main .front-content>.navigation-surface{background:var(--surface);border-radius:14px}
.front-main .front-content .category>.cards>.site-card,.front-main .front-content .category>.cards>.site-card.has-description{background:var(--reference-card)!important;border:1px solid var(--reference-card-line)!important;border-radius:10px!important;box-shadow:none!important;color:var(--text)!important;transform:none!important;transition:color .3s ease,border-color .3s ease,background-color .3s ease}
.front-main .front-content .category>.cards>.site-card:hover,.front-main .front-content .category>.cards>.site-card.has-description:hover{background:var(--reference-card)!important;border-color:var(--reference-card-line)!important;box-shadow:none!important;transform:none!important}
.front-main .category>.cards>.site-card b{font-family:inherit;font-size:13px!important;font-weight:600!important;color:inherit;line-height:1.5}
.front-main .category>.cards>.site-card:not(.is-highlight):hover b{color:var(--brand)}
html[data-theme="dark"] .front-main .category>.cards>.site-card:not(.is-highlight):hover b{color:#fff}
.front-main .site-card.has-description .site-card-description{color:var(--muted)!important;font-size:10px!important;font-weight:400;line-height:17px!important}
.front-main .category>.cards>.site-card.is-highlight b{color:#e43d4d!important}
html[data-theme="dark"] .front-main .category>.cards>.site-card.is-highlight b{color:#ff626f!important}
.front-main .site-detail-corner{color:color-mix(in srgb,var(--brand) 16%,transparent)}.front-main .site-card:hover .site-detail-corner{color:var(--brand)}
.front-main .search-panel{background:var(--surface)!important;color:var(--text);border:0!important;box-shadow:none!important}
.front-main .search-panel:focus-within{outline:1px dashed var(--brand)!important;box-shadow:none!important}
.front-main .search-panel :is(input,textarea){color:var(--text)}.front-main .search-panel input::placeholder{color:#999}
.engine-menu,.browse-history-card,.link-feedback-dialog,.page-passcode-card,.self-listing-modal .modal-card,.detail-total-card,.message-page-shell,.about-page-content{background:var(--surface);color:var(--text)}
.front-main :is(input,textarea,select):not([type="checkbox"]):not([type="radio"]),.link-feedback-dialog :is(input,textarea,select){color:var(--text)}
html[data-theme="dark"] .front-main :is(input,textarea,select):not([type="checkbox"]):not([type="radio"]),html[data-theme="dark"] .link-feedback-dialog :is(input,textarea,select){background-color:#363738;border-color:#363738}
.front-main :is(.primary,.detail-visit,.popup-ad-button),.self-listing-modal #selfListingPayBtn,.self-terms-foot .primary,.link-feedback-dialog footer .primary,.leave-continue{background:var(--brand)!important;color:var(--brand-contrast)!important}
.front-main :is(.primary,.detail-visit,.popup-ad-button):hover,.leave-continue:hover{filter:brightness(.96)}
.front-main .rich-content,.detail-prose{color:var(--text);font-size:14px;line-height:1.9}
.front-main .rich-content :is(h1,h2,h3,h4,h5,h6){color:var(--reference-heading);font-weight:600}
.front-main .rich-content a{color:var(--brand);text-decoration:none}
html[data-theme="dark"] .front-main .rich-content a{color:var(--text)}
.front-main .rich-content blockquote{background:var(--surface-2);border-left-color:var(--line);color:var(--text)}
.front-main .rich-content :is(h1,h2,h3,h4,h5,h6):before,.message-page-shell:before,.detail-total-card:before{background:#e6c977}
.front-footer,.front-footer .footer-links,.front-footer .copyright,.front-community{color:var(--muted)}
.front-footer :is(a,button):hover,.community-friends a:hover{color:var(--brand)}
html[data-theme="dark"] .front-footer{background:var(--surface)}
.leave-card{background:var(--surface);color:var(--text)}.leave-brand{color:var(--brand)}.leave-destination{background:var(--surface-2)}
.site-star{background:var(--surface);border-color:var(--line);color:var(--muted)}.site-star.is-starred svg{color:#e6c977;fill:#e6c977;stroke:#e6c977}
.link-feedback-launch,.front-back-top{background:var(--surface);color:var(--muted)}.link-feedback-launch:hover,.front-back-top:hover{color:var(--brand)}
@media(max-width:820px){.front-main .front-content>.navigation-surface{border-radius:0}.front-main .category>.cards>.site-card b{font-size:12px!important}.front-main>.front-pagebar{background:var(--surface)!important}}

/* Both website-card variants use exactly the same border palette. */
html .front-main .front-content .category>.cards>:is(.site-card,.site-card.has-description),html .front-main .front-content .category>.cards>:is(.site-card,.site-card.has-description):hover{background:var(--reference-card)!important;border:1px solid var(--reference-card-line)!important}
html[data-theme="dark"] .front-main .front-content .category>.cards>:is(.site-card,.site-card.has-description),html[data-theme="dark"] .front-main .front-content .category>.cards>:is(.site-card,.site-card.has-description):hover{background:var(--reference-card)!important;border-color:var(--reference-card-line)!important}
html body:not(.admin-backend) :is(.front-main,.link-feedback-dialog,.self-listing-modal,.page-passcode-gate,.leave-card) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="range"]):not([type="color"]),textarea,select){background:transparent!important}
/* Transparent form fields still need a visible boundary against their card. */
:root{--form-field-line:#d9dde2;--form-field-hover:#adb3bc}
html[data-theme="dark"]{--form-field-line:#505254;--form-field-hover:#747678}
html body:not(.admin-backend) :is(.message-page-form,#linkFeedbackForm,#selfListingForm,#selfListingQueryForm,.page-passcode-card) :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]),textarea,select){border:1px solid var(--form-field-line)!important;border-radius:10px;box-shadow:none;transition:border-color .18s ease;box-sizing:border-box}
html body:not(.admin-backend) :is(.message-page-form,#linkFeedbackForm,#selfListingForm,#selfListingQueryForm,.page-passcode-card) :is(input,textarea,select):hover{border-color:var(--form-field-hover)!important}
html body:not(.admin-backend) :is(.message-page-form,#linkFeedbackForm,#selfListingForm,#selfListingQueryForm,.page-passcode-card) :is(input,textarea,select):focus{border-color:var(--brand)!important;outline:1px dashed var(--brand);outline-offset:2px;box-shadow:none}

/* Light-mode hover fill follows the shared border token for both card layouts. */
html:not([data-theme="dark"]) .front-main .front-content .category>.cards>:is(.site-card,.site-card.has-description):hover{background:var(--reference-card-line)!important}

/* Desktop description: fine rotating multicolour outline, matching the filter entry. */
@property --description-angle{syntax:"<angle>";initial-value:90deg;inherits:false}
@keyframes page-description-spin{from{--description-angle:0deg}to{--description-angle:360deg}}
@media(min-width:821px){
.front-main>.front-pagebar{min-height:96px;height:auto;padding-top:12px;padding-bottom:12px}
.front-pagebar .admin-pagebar-left{min-width:0}
.front-pagebar .front-page-title{min-width:0;max-width:100%}
.front-pagebar .front-page-title>p{position:relative;isolation:isolate;display:flex;align-items:center;gap:5px;width:fit-content;max-width:100%;min-height:35px;box-sizing:border-box;margin:7px 1px 1px;padding:0 12px;border-radius:3px 10px 10px 10px;background:var(--surface);color:var(--text);font-size:13px;line-height:1.5;transition:box-shadow .15s ease-in-out}
.front-pagebar .front-page-title>p>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.front-pagebar .front-page-title>p::before{content:"";position:absolute;inset:0;background:var(--surface);border-radius:2px 10px 10px 10px;z-index:-1;pointer-events:none}
.front-pagebar .front-page-title>p::after{content:"";position:absolute;inset:-1px;border-radius:2px 11px 11px 11px;background-image:linear-gradient(var(--description-angle),#fc4dc8,#436aff 30%,#fff 50%,#e396ff 50%,#ffe50d);z-index:-2;pointer-events:none;animation:page-description-spin 5s linear infinite}
.front-pagebar .front-page-title>p:hover{box-shadow:0 -2px 10px 1px rgba(0,0,0,.05)}
html[data-theme="dark"] .front-pagebar .front-page-title>p::after{background-image:linear-gradient(var(--description-angle),#fc4dc8,#436aff 30%,#1b1d1f 50%,#e396ff 50%,#ffe50d);opacity:.7}
}
@media(prefers-reduced-motion:reduce){.front-pagebar .front-page-title>p::after{animation:none}}

/* Fit columns to available content width; reserve empty tracks on short rows. */
@media(min-width:821px){
html .front-main .front-content .category>.cards{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important;min-width:0}
html .front-main .front-content .category>.cards.has-descriptions{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(max-width:820px){
html .front-main .front-content .category>.cards:not(.has-descriptions){grid-template-columns:repeat(3,minmax(0,1fr))!important}
html .front-main .front-content .category>.cards[data-mobile-columns="2"],html .front-main .front-content .category>.cards.has-descriptions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Icon-only verification exit, shared by protected pages and articles. */
.front-pagebar .front-passcode-logout{display:grid;place-items:center;flex:0 0 32px;width:32px;min-width:32px;height:32px;padding:6px;border:0;background:transparent;color:var(--muted);border-radius:8px;line-height:1}
.front-pagebar .front-passcode-logout:hover{color:var(--brand);background:transparent}
.front-pagebar .front-passcode-logout:focus-visible{outline:1px dashed var(--brand);outline-offset:3px}
.front-pagebar .front-passcode-logout>svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.front-pagebar .front-passcode-logout>.utility-icon{display:block;width:20px;height:20px}
.front-pagebar .front-passcode-logout>.utility-icon img{display:block;width:100%;height:100%;object-fit:contain}

/* Only selected dark sidebar items use the theme accent. */
html[data-theme="dark"] .front-sidebar :is(.front-page-nav,.front-category-nav,.front-sidebar-bottom) a.active,
html[data-theme="dark"] .front-sidebar :is(.front-page-nav,.front-category-nav,.front-sidebar-bottom) a.active>span:last-child,
html[data-theme="dark"] .front-sidebar :is(.front-page-nav,.front-category-nav,.front-sidebar-bottom) a.active :is(svg,.utility-icon,.front-page-logo){color:var(--brand)!important}

/* Category actions follow the reference half-height, skewed underline tab. */
.front-main .category-title-actions .category-ribbon-button{position:relative;isolation:isolate;display:inline-flex;align-items:center;gap:3px;height:22px!important;min-height:22px;padding:0 5px!important;margin-left:5px;border:0!important;border-radius:0!important;background:transparent!important;color:#222!important;font-size:14px!important;font-weight:700!important;line-height:22px!important;white-space:nowrap;overflow:visible;box-shadow:none;transform:none}
.front-main .category-title-actions .category-ribbon-button::before{content:"";position:absolute;left:0;right:auto;top:auto;bottom:0;width:100%;height:50%;border-radius:3px;transform:skewX(-5deg);background:linear-gradient(to right bottom,color-mix(in srgb,var(--category-button-bg,#fff8ce) 22%,#fff),var(--category-button-bg,#fff8ce));box-shadow:1px 1px 0 color-mix(in srgb,var(--category-button-bg,#fff8ce) 50%,#c7c7c7);z-index:-1;pointer-events:none}
.front-main .category-title-actions .category-ribbon-button:hover{filter:none;transform:none}
.front-main .category-title-actions .category-ribbon-button:hover::before{background:color-mix(in srgb,var(--category-button-bg,#fff8ce) 80%,#fff)}
.front-main .category-title-actions .category-ribbon-button>span{transform:none}
.front-main .category-title-actions .category-ribbon-button :is(.category-button-dot,.category-button-icon,img){width:9px!important;height:9px!important;flex:0 0 9px!important;margin:0 2px 0 1px!important}
html[data-theme="dark"] .front-main .category-title-actions .category-ribbon-button{color:var(--text)!important}
html[data-theme="dark"] .front-main .category-title-actions .category-ribbon-button::before{background:#1b1d1f;box-shadow:1px 1px 0 #373737}
@media(max-width:1500px) and (min-width:821px){.front-main .category-title-actions .category-ribbon-button{padding:0 1px 0 2px!important;font-size:13px!important}}
@media(max-width:820px){.front-main .category-title-actions .category-ribbon-button{font-size:12px!important;margin-left:0;height:22px!important;padding:0 2px!important}}


/* Reference link structure: inline icon + marked strong title. */
.front-main .rich-content :is(.timeline-link,.article-content-link){position:relative;isolation:isolate;display:inline;align-items:normal;gap:0;padding:0;margin-bottom:0;max-width:100%;font-size:14px;font-weight:400;line-height:1.9;color:var(--brand);text-decoration:none!important;border:0;background:none;overflow:visible;overflow-wrap:anywhere}
.front-main .rich-content :is(.timeline-link,.article-content-link)::before{content:"";display:inline-block;vertical-align:-2px;width:14px;height:14px;margin:0 4px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' d='m10 13 4-4m-6 6-1 1a4 4 0 0 1-6-6l4-4a4 4 0 0 1 6 0m2 3 1-1a4 4 0 0 1 6 6l-4 4a4 4 0 0 1-6 0'/%3E%3C/svg%3E") center/contain no-repeat}
.front-main .rich-content :is(.timeline-link,.article-content-link)::after{content:"";background:none}
.front-main .rich-content :is(.timeline-link,.article-content-link) strong{position:relative;z-index:1;font-weight:700;color:rgba(0,0,0,.92)}
.front-main .rich-content :is(.timeline-link,.article-content-link) strong::after{content:"";position:absolute;left:-22px;bottom:-10%;width:100%;height:50%;border-radius:3px;transform:skewX(-15deg);background:linear-gradient(to left,transparent 0%,#f6dc3e 170%);z-index:-1;pointer-events:none}
/* The wave is an overlay: neither hover nor keyboard focus changes layout. */
.front-main .rich-content :is(.timeline-link,.article-content-link){display:inline-block;line-height:1.6;padding:0!important;vertical-align:baseline}
.front-main .rich-content :is(.timeline-link,.article-content-link)::before{mask:url("img/timeline-link.svg") center/contain no-repeat;-webkit-mask:url("img/timeline-link.svg") center/contain no-repeat}
.front-main .rich-content :is(.timeline-link,.article-content-link)::after{content:"";position:absolute;left:0;right:0;bottom:1px;height:4px;pointer-events:none;opacity:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath fill='none' stroke='%231668ff' d='M0 3.5c5 0 5-3 10-3s5 3 10 3 5-3 10-3 5 3 10 3'/%3E%3C/svg%3E") repeat-x 0 100%;background-size:20px 4px}
.front-main .rich-content :is(.timeline-link,.article-content-link):hover,.front-main .rich-content :is(.timeline-link,.article-content-link):focus-visible{padding:0!important;background:none;animation:none}
.front-main .rich-content :is(.timeline-link,.article-content-link):hover::after,.front-main .rich-content :is(.timeline-link,.article-content-link):focus-visible::after{opacity:1;animation:timeline-link-wave 1s linear infinite}

html[data-theme="dark"] .front-main .rich-content :is(.timeline-link,.article-content-link) strong{color:#c6c9cf}
html[data-theme="dark"] .front-main .rich-content :is(.timeline-link,.article-content-link) strong::after{background:linear-gradient(to left,transparent 0%,#283593 100%)}
@keyframes timeline-link-wave{from{background-position:0 100%}to{background-position:-20px 100%}}
@media(prefers-reduced-motion:reduce){.front-main .rich-content :is(.timeline-link,.article-content-link):hover::after,.front-main .rich-content :is(.timeline-link,.article-content-link):focus-visible::after{animation:none}}
/* Match the details page's total width and the resulting main card width. */
.article-page-main>.front-content{width:100%;max-width:1040px;margin-left:auto;margin-right:auto}
.article-page-main .article-columns{width:100%;max-width:1040px;grid-template-columns:minmax(0,1fr) 290px;gap:18px;align-items:start}
@media(max-width:820px){.article-page-main>.front-content{max-width:100%}.article-page-main .article-columns{grid-template-columns:minmax(0,1fr)}}

/* Reference content-card top edge; preserve each card's bottom radii. */
.article-page-main .article-columns>.about-page-content,.detail-page-main .detail-total-card{border-top:4px solid #283593;border-top-left-radius:4px;border-top-right-radius:4px}
html[data-theme="dark"] .article-page-main .article-columns>.about-page-content,html[data-theme="dark"] .detail-page-main .detail-total-card{border-top-color:#283593}

/* Actual icon and label layers keep the marker behind both. */
.front-main .rich-content .article-content-link::before{content:none}
.front-main .rich-content .article-content-link{isolation:isolate}
.front-main .rich-content .article-content-link>.article-link-icon{position:relative;z-index:3;display:inline-block;width:14px;height:14px;margin:0 4px;vertical-align:-2px;color:var(--brand)}
.front-main .rich-content .article-link-icon>.utility-icon{display:block;width:14px;height:14px}
.front-main .rich-content .article-link-icon img{display:block;width:14px!important;height:14px!important;margin:0!important;object-fit:contain}
.front-main .rich-content .article-content-link>.article-link-label{position:relative;z-index:1}
.front-main .rich-content .article-content-link>.article-link-label strong{position:static;z-index:auto;color:inherit;font-weight:inherit}
.front-main .rich-content .article-content-link>.article-link-label strong::after{content:none}

.detail-identity .detail-description{display:flex;align-items:baseline;gap:8px;min-width:0;max-width:100%}
.detail-identity .detail-description>p{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
.detail-identity .detail-description.is-expanded>p{white-space:pre-wrap;overflow:visible;overflow-wrap:anywhere}
.detail-description .detail-description-toggle{flex:none;padding:0;border:0;background:transparent;color:var(--brand);font:inherit;font-size:12px;line-height:1.8;cursor:pointer}
.detail-description .detail-description-toggle[hidden]{display:none}
.detail-description .detail-description-toggle:focus-visible{outline:1px dashed var(--brand);outline-offset:3px}

/* Passcode verification floats directly on the page in every theme. */
html body .page-passcode-gate .page-passcode-card{background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* Compact single-row search with a visible theme-colour frame. */
html .front-main #searchForm.search-panel{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:56px;height:56px;padding:8px 12px;border:2px solid var(--brand)!important;border-radius:14px;box-sizing:border-box}
html .front-main #searchForm .search-input-row{order:2;min-width:0;height:36px;padding:0;display:flex;align-items:center}
html .front-main #searchForm .search-input-row input{height:36px;min-height:0;padding:0;border:0!important;outline:0;background:transparent}
html .front-main #searchForm :is(.search-toolbar,.search-actions){display:contents}
html .front-main #searchForm .engine-btn{order:1;max-width:160px;min-width:0;height:36px;margin:0;padding:0;align-self:center}
html .front-main #searchForm .search-submit{order:3;position:static;width:32px;height:32px;margin:0;padding:0;align-self:center}
html .front-main #searchForm.search-panel:focus-within{border:2px solid var(--brand)!important;outline:1px dashed var(--brand)!important;outline-offset:3px}
@media(max-width:820px){html .front-main #searchForm.search-panel{height:50px;min-height:50px;padding:5px 10px;gap:8px;border-radius:12px}html .front-main #searchForm .engine-btn{max-width:115px}html .front-main #searchForm .search-input-row input{font-size:14px}}

/* Engine picker follows the engine button at the left of the compact search. */
html .front-main #searchForm .engine-menu{left:0;right:auto;top:calc(100% + 8px);max-width:100%;box-sizing:border-box;transform-origin:top left}

/* Search glyph always shares the frame accent, including the empty state. */
html .front-main #searchForm .search-submit,html .front-main #searchForm .search-submit:hover,html .front-main #searchForm .search-submit:disabled{color:var(--brand)!important}

/* Tighter search proportions without changing the surrounding layout. */
html .front-main #searchForm.search-panel{width:min(760px,100%);height:48px;min-height:48px;padding:5px 9px;gap:7px;border-radius:12px}
html .front-main #searchForm .search-input-row,html .front-main #searchForm .search-input-row input,html .front-main #searchForm .engine-btn{height:32px}
html .front-main #searchForm .search-submit{width:28px;height:28px}
@media(max-width:820px){html .front-main #searchForm.search-panel{width:94%;height:44px;min-height:44px;padding:3px 7px;gap:6px;border-radius:10px}html .front-main #searchForm .search-input-row,html .front-main #searchForm .search-input-row input,html .front-main #searchForm .engine-btn{height:30px}}

/* Compact reference breadcrumbs: site favicon, text links and fine arrows. */
html .front-main .front-content .reference-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:0;min-width:0;min-height:20px;margin:0 0 16px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;font-size:13px;font-weight:600;line-height:20px;color:rgba(68,58,58,.4)}
html .front-main .reference-breadcrumb a{display:inline-flex;align-items:center;gap:5px;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#282a2d;line-height:20px;text-decoration:none;transition:color .2s}
html .front-main .reference-breadcrumb a:hover{color:var(--brand);background:transparent}
html .front-main .reference-breadcrumb .crumb-home img{display:block;flex:none;width:16px;height:16px;object-fit:contain;border-radius:0;margin:0 5px 0 0}
html .front-main .reference-breadcrumb>.crumb-arrow{flex:none;width:11px;height:11px;margin:0 5px;fill:none;stroke:rgba(0,0,0,.3);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
html .front-main .reference-breadcrumb .crumb-current{min-width:0;max-width:100%;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit}
html[data-theme="dark"] .front-main .reference-breadcrumb{color:#888}
html[data-theme="dark"] .front-main .reference-breadcrumb a{color:var(--text)}
html[data-theme="dark"] .front-main .reference-breadcrumb a:hover{color:var(--brand)}
html[data-theme="dark"] .front-main .reference-breadcrumb>.crumb-arrow{stroke:#444}
@media(max-width:620px){html .front-main .front-content .reference-breadcrumb{font-size:12px;margin-bottom:14px}html .front-main .reference-breadcrumb>.crumb-arrow{margin:0 3px}}

/* V258 reading proportions and category title icons. */
html .front-main .reference-breadcrumb>.crumb-arrow{width:12px;height:12px;stroke-width:1.8;margin:0 7px}
.article-page-main>.front-content,.detail-page-main .detail-main{width:100%;max-width:1240px;margin-inline:auto}
.article-page-main .article-columns,.detail-page-main .detail-columns{width:100%;max-width:1240px;grid-template-columns:minmax(0,1fr) 310px;gap:20px}
.article-page-main .article-columns>.about-page-content>.rich-content,.detail-page-main .detail-prose{font-size:15px;line-height:1.875}
.article-page-main .article-columns>.about-page-content>.rich-content :is(p,li),.detail-page-main .detail-prose :is(p,li){font-size:inherit;line-height:inherit}
.article-page-main .article-columns>.about-page-content>.rich-content :is(.timeline-link,.article-content-link){font-size:inherit}
.detail-page-main .detail-left-column .detail-identity h1{font-size:28px;line-height:1.4}
.detail-page-main .detail-identity p{font-size:15px;line-height:1.875}
.detail-page-main .detail-panel h2{font-size:18px}
.detail-page-main .detail-actions :is(a,button){font-size:14px}
html .front-main .category>.section-title>.category-heading{display:inline-flex;align-items:center;gap:8px;min-width:0;margin:0;line-height:1.4}
html .front-main .category-heading>.category-heading-icon{display:block;flex:0 0 1.2em;width:1.2em;height:1.2em;min-width:1.2em;min-height:1.2em;margin:0;padding:0;object-fit:contain;align-self:center;vertical-align:middle}
html .front-main .category-heading>.category-heading-icon.is-adaptive{background:currentColor;mask:var(--category-heading-image) center/contain no-repeat;-webkit-mask:var(--category-heading-image) center/contain no-repeat}
html .front-main .category-heading>svg.category-heading-icon{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:960px){.article-page-main .article-columns,.detail-page-main .detail-columns{grid-template-columns:minmax(0,1fr)}.article-page-main>.front-content,.detail-page-main .detail-main{max-width:100%}}
@media(max-width:620px){.detail-page-main .detail-left-column .detail-identity h1{font-size:24px}html .front-main .reference-breadcrumb>.crumb-arrow{margin-inline:4px}}

/* V261 compact mobile detail header; the logo stays anchored as text expands. */
@media(max-width:820px){
.detail-page-main .detail-total-card>.detail-hero{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:start;column-gap:12px;row-gap:14px}
.detail-page-main .detail-hero>.detail-identity{grid-column:1;grid-row:1;min-width:0;align-self:start}
.detail-page-main .detail-hero>.detail-logo{grid-column:2;grid-row:1;align-self:start;justify-self:end;width:48px;height:48px;margin:0;border-radius:10px}
.detail-page-main .detail-hero>.detail-logo img{width:36px;height:36px}
.detail-page-main .detail-left-column .detail-identity h1{font-size:18px;line-height:1.4;margin:0 0 2px}
.detail-page-main .detail-identity .detail-description p{font-size:12px;line-height:1.65;margin:0}
.detail-page-main .detail-description-toggle{font-size:11px;line-height:1.65}
.detail-page-main .detail-hero>.detail-actions{grid-column:1 / -1;grid-row:2;width:100%;padding-left:0;margin:0}
.detail-page-main .detail-total-card .detail-prose{font-size:13px;line-height:1.85}
.detail-page-main .detail-total-card>.detail-panel:not(.detail-notice)>h2{font-size:16px;margin-bottom:12px}
}

/* V262 desktop page magnification, keeping the sidebar at its original size. */
@media(min-width:821px){
html .front-layout>.front-main{zoom:1.1;min-height:calc(100vh / 1.1);min-height:calc(100dvh / 1.1)}
body:has(.front-layout)>dialog,body:has(.front-layout) :is(.link-feedback-launch,.browse-history-card,.front-back-top):not(.front-main *){zoom:1.1}
html.immersive-mode .front-main>.front-content{min-height:calc(100dvh / 1.1 - 100px)}
}
/* Mobile breadcrumb remains independent from desktop magnification. */
@media(max-width:820px){
html .front-main .front-content .reference-breadcrumb{font-size:14px;line-height:22px;min-height:22px}
html .front-main .reference-breadcrumb a{line-height:22px}
html .front-main .reference-breadcrumb .crumb-home{gap:3px}
html .front-main .reference-breadcrumb .crumb-home img{width:20px;height:20px;flex:0 0 20px;margin:0}
}

/* V263 desktop-only exceptions to page magnification. */
@media(min-width:821px){
html .front-main .front-content>.front-hero{zoom:0.9090909091}
.detail-page-main .detail-left-column .detail-identity h1{font-size:21px;line-height:1.4;margin-bottom:4px}
.detail-page-main .detail-identity .detail-description p{font-size:13px;line-height:1.75}
}

/* Keep the desktop logo anchored while the description grows. */
@media(min-width:821px){.detail-page-main .detail-total-card>.detail-hero>.detail-logo{align-self:flex-start}}

/* V267 compact desktop top bar after removing the site-name row. */
@media(min-width:821px){
html .front-main>.front-pagebar{min-height:68px;height:68px;box-sizing:border-box;padding-top:4px;padding-bottom:4px}
html .front-pagebar .front-page-title>p{margin-top:0;margin-bottom:0}
}

/* V269 compact description tooltip matching the supplied reference. */
html .site-description-tooltip,html[data-theme="dark"] .site-description-tooltip{--tip-bg:#1b1d1f;background:var(--tip-bg);color:#fff;width:max-content;max-width:min(420px,calc(100vw - 24px));max-height:min(240px,calc(100dvh - 24px));border:0;border-radius:8px;box-shadow:none;font-size:12px;font-weight:500;line-height:20px;pointer-events:none;padding:0}
html .site-description-tooltip>.site-description-content{padding:5px 10px;border-radius:inherit;overflow:hidden;color:inherit}
html .site-description-tooltip::after{border-width:5px}

/* Show description immediately, without entrance motion. */
html .site-description-tooltip{animation:none!important;transition:none!important}

/* V272 visible bookmark separator and slim page scrollbar. */
html:not([data-theme="dark"]) .front-main .community-bookmark{border-top:1px solid #d9dcdf}
html.front-page-root,html.front-page-root body,html:has(.map-shell),html:has(.map-shell) body{scrollbar-width:auto;-ms-overflow-style:auto}
html.front-page-root::-webkit-scrollbar,html.front-page-root body::-webkit-scrollbar,html:has(.map-shell)::-webkit-scrollbar,html:has(.map-shell) body::-webkit-scrollbar{display:block;width:5px;height:5px}
html.front-page-root::-webkit-scrollbar-track,html.front-page-root body::-webkit-scrollbar-track,html:has(.map-shell)::-webkit-scrollbar-track{background:transparent}
html.front-page-root::-webkit-scrollbar-thumb,html.front-page-root body::-webkit-scrollbar-thumb,html:has(.map-shell)::-webkit-scrollbar-thumb{background:rgba(130,130,130,.5);border-radius:4px}
html.front-page-root::-webkit-scrollbar-thumb:hover,html.front-page-root body::-webkit-scrollbar-thumb:hover,html.front-page-root::-webkit-scrollbar-thumb:active,html.front-page-root body::-webkit-scrollbar-thumb:active,html:has(.map-shell)::-webkit-scrollbar-thumb:hover{background:var(--brand,#283593)}
html.front-page-root::-webkit-scrollbar-corner,html.front-page-root body::-webkit-scrollbar-corner{background:transparent}
@supports(-moz-appearance:none){html.front-page-root,html.front-page-root body,html:has(.map-shell){scrollbar-width:thin;scrollbar-color:rgba(130,130,130,.5) transparent}}

/* V273 sidebar branding accent and reference footer. */
html .front-sidebar .front-brand{margin-bottom:0;padding-bottom:0}
html .front-sidebar .sidebar-brand-divider{display:block;flex:0 0 5px;width:20%;height:5px;margin:10px auto 12px;background:var(--brand);transform:skewX(-15deg)}
html .front-sidebar .reference-sidebar-footer{display:flex;flex-direction:column;flex:0 0 auto;gap:20px;align-items:stretch;width:calc(100% + 16px);margin:0 -8px -16px;padding:17px 8px max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--line);box-sizing:border-box}
html .front-sidebar .reference-sidebar-footer a.sidebar-message-entry{position:relative;isolation:isolate;display:block;min-height:0;height:auto;width:100%;margin:0;padding:8px 0;line-height:20px;text-align:center;border:solid #b8daa7;border-width:0 1px 1px 0;border-radius:10px;background:linear-gradient(to right bottom,#edf9d6,#c1edb1);color:#006304}
html .front-sidebar .reference-sidebar-footer a.sidebar-message-entry>span{color:#006304!important;font-size:13px;font-weight:700;line-height:20px}
html .front-sidebar .reference-sidebar-footer a.sidebar-message-entry::after{content:"";position:absolute;right:10%;bottom:-5px;width:10px;height:20px;border-radius:2px;background:#b8daa7;border-right:1px solid #8cad7b;transform:rotate(35deg) skewX(5deg);z-index:-1;pointer-events:none}
html .front-sidebar .reference-sidebar-footer a.sidebar-message-entry:hover{filter:brightness(.97)}
html .front-sidebar .sidebar-home-address{min-width:0;padding-top:0}
html .front-sidebar .sidebar-home-label{position:relative;height:15px;border-top:2px solid var(--surface-2);margin:0 -8px 6px}
html .front-sidebar .sidebar-home-label>span{position:relative;top:-12px;display:inline-block;padding:0 9px;color:#aaa;background:var(--surface);font-size:12px;font-weight:700;line-height:20px}
html .front-sidebar .reference-sidebar-footer a.sidebar-home-domain{display:block;width:calc(100% + 8px);min-height:0;height:30px;line-height:30px;margin:0 0 0 -8px;padding:0 6px 0 3px;border:0;border-radius:0 50px 50px 0;background:var(--brand);color:#fff;font-size:12px;font-weight:700;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme="dark"] .front-sidebar .reference-sidebar-footer a.sidebar-home-domain{color:#282a2d}
@media(max-height:520px){html .front-sidebar .sidebar-home-address{display:none}html .front-sidebar .reference-sidebar-footer{gap:0;padding-top:12px}}

/* V274 reference bubble layers: the tail sits behind the button surface. */
html .front-sidebar .reference-sidebar-footer{padding-left:10px;padding-right:10px}
html .front-sidebar .sidebar-message-wrap{position:relative;isolation:isolate;min-width:0;margin-top:-5px}
html .front-sidebar .reference-sidebar-footer a.sidebar-message-entry{isolation:auto;z-index:auto;margin:0;padding:7px 0;border:1px solid #b8daa7;border-width:0 1px 1px 0;border-radius:10px;background:linear-gradient(to right bottom,#edf9d6 0%,#c1edb1 100%)!important;box-shadow:none;transform:none}
html .front-sidebar .reference-sidebar-footer a.sidebar-message-entry::after{height:30px;width:10px;right:10%;bottom:-5px;border:1px solid #8cad7b;border-width:0 1px;border-radius:2px;background:#b8daa7;transform:rotate(35deg) skewX(5deg);z-index:-1}
html .front-sidebar .reference-sidebar-footer a.sidebar-message-entry:hover{filter:none;background:linear-gradient(to right bottom,#edf9d6 0%,#c1edb1 100%)!important}
html .front-sidebar .sidebar-home-label{margin-left:-10px;margin-right:-10px}
html .front-sidebar .reference-sidebar-footer a.sidebar-home-domain,html[data-theme="dark"] .front-sidebar .reference-sidebar-footer a.sidebar-home-domain{width:calc(100% + 10px);margin-left:-10px;background:#283593;color:#fff}
html .front-sidebar .reference-sidebar-footer a.sidebar-home-domain:hover{background:#283593;color:#fff}

/* Pale, opaque bookmark lettering instead of translucent lettering. */
html .community-bookmark .bookmark-watermark{opacity:1;color:#e6e7e8}
html[data-theme="dark"] .community-bookmark .bookmark-watermark{opacity:1;color:#292b2d}

/* V276 reference floating tools: translucent grey with a frosted backdrop. */
html .front-back-top,html .link-feedback-launch:not(.mobile-header-history){width:40px;height:40px;min-width:40px;padding:0;box-sizing:border-box;display:grid;place-items:center;border:0!important;border-radius:10px;background:rgba(210,210,210,.58)!important;color:#283593;box-shadow:none!important;backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px)}
html .front-back-top:hover,html .link-feedback-launch:not(.mobile-header-history):hover{background:rgba(210,210,210,.72)!important;color:#283593;box-shadow:none!important}
html .front-back-top :is(svg,.utility-icon),html .link-feedback-launch:not(.mobile-header-history) :is(svg,.utility-icon){width:20px;height:20px;color:inherit;margin:0}
html[data-theme="dark"] .front-back-top,html[data-theme="dark"] .link-feedback-launch:not(.mobile-header-history){background:rgba(10,10,10,.4)!important;color:#ccc}
html[data-theme="dark"] .front-back-top:hover,html[data-theme="dark"] .link-feedback-launch:not(.mobile-header-history):hover{background:rgba(10,10,10,.55)!important;color:#ddd}

/* V277 history returns to the page header, following the star control. */
html .front-pagebar #browseHistoryOpen.header-history{position:static!important;inset:auto!important;display:grid!important;place-items:center;width:32px;min-width:32px;height:32px;margin:0;padding:5px;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;backdrop-filter:none;-webkit-backdrop-filter:none;color:var(--muted);transform:none!important;opacity:1;visibility:visible;zoom:1}
html .front-pagebar #browseHistoryOpen.header-history:hover{color:var(--brand)}
html .front-pagebar #browseHistoryOpen.header-history :is(svg,.utility-icon){width:21px;height:21px;color:inherit;margin:0}
html #browseHistoryCard.browse-history-card{zoom:1!important;transform-origin:top right}

/* V280 desktop footer aligns with the sidebar home separator. */
@media(min-width:821px){
 html .front-main>.front-footer .footer-inner{box-sizing:border-box;min-height:var(--aligned-footer-height,61px);padding-top:10px;padding-bottom:10px;align-content:center}
 html .community-friends h2{font-size:14px;gap:7px}
 html .community-friends h2 svg{width:18px;height:18px}
 html .community-friends li{font-size:11px}
}

/* V281 understated footer dividers and type. */
html .front-main .front-footer :is(.footer-links,.copyright,.footer-site-info span,.footer-site-info a){font-size:11px;color:#222}
html .front-footer .footer-links{gap:0}
html .front-footer .footer-links>:is(a,button){display:inline-flex;align-items:center;color:inherit}
html .front-footer .footer-links>:is(a,button)+:is(a,button)::before{content:"/";display:inline-block;margin:0 10px;color:#d8d8d8;font-size:12px;font-weight:400;pointer-events:none}
html[data-theme="dark"] .front-main .front-footer :is(.footer-links,.copyright,.footer-site-info span,.footer-site-info a){color:#b8b8b8}
html[data-theme="dark"] .front-footer .footer-links>:is(a,button)+:is(a,button)::before{color:#56585a}
html .front-footer .footer-links>:is(a,button):hover{color:var(--brand)}

@media(max-width:820px){html .front-main .front-footer :is(.footer-links,.copyright,.footer-site-info span,.footer-site-info a){font-size:9px}}

/* V283 stand-alone image showcase, narrower than the website directory. */
html .front-main .front-content>.image-banner-grid{width:86%;max-width:1120px;box-sizing:border-box;margin:0 auto 24px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
@media(max-width:820px){html .front-main .front-content>.image-banner-grid{width:94%;margin:0 auto 20px;padding:0;background:transparent;border-radius:0}}
html.immersive-mode .front-content>.image-banner-grid{display:none!important}

/* V288 restore selected desktop sections to natural scale; breadcrumbs keep main zoom. */
@media(min-width:821px){
 html .front-main .front-content>:is(.navigation-surface,.front-community,.front-friends),html .detail-page-main .detail-columns{zoom:.9090909091}
 html .front-pagebar .front-page-title>p{min-height:29px;padding-left:9px;padding-right:9px;font-size:12px}
}

/* V290 desktop breadcrumb logo and mobile category header layout. */
@media(min-width:821px){html .front-main .reference-breadcrumb .crumb-home{gap:2px}html .front-main .reference-breadcrumb .crumb-home img{width:22px;height:22px;flex:0 0 22px;margin:0}}
/* V295 mobile category layout is owned by subcategories.css. */

/* V297 mobile content dimensions, following the supplied reference styles. */
@media(max-width:820px){
 html .front-main .navigation-surface .category>.cards{gap:12px!important}
 html .front-main .front-content .category>.cards>.site-card:not(.has-description){height:50px;min-height:50px;padding:12px 10px;gap:10px}
 html .front-main .front-content .category>.cards>.site-card b{font-size:14px!important;line-height:1.5}
 html .front-main .site-card:not(.has-description)>.site-logo{width:20px;height:20px;flex:0 0 20px}
 html .front-main .site-card:not(.has-description)>.site-logo img{width:20px;height:20px}
 html .front-main .front-content .category>.cards>.site-card.has-description{height:68px!important;min-height:68px!important;grid-template-columns:24px minmax(0,1fr)!important;column-gap:10px!important;padding:10px 12px!important}
 html .front-main .site-card.has-description>.site-logo{width:24px!important;height:24px!important;min-width:24px!important;max-width:24px!important}
 html .front-main .site-card.has-description>.site-logo img{width:24px!important;height:24px!important}
 html .front-main .site-card.has-description .site-card-description{font-size:12px!important;line-height:18px!important;height:18px!important}
 html .front-main .category-title-actions .category-ribbon-button{font-size:13px!important}
}
@media(max-width:370px){
 html .front-main .front-content .category>.cards>.site-card:not(.has-description){height:44px;min-height:44px;padding:10px 7px;gap:8px}
 html .front-main .front-content .category>.cards>.site-card b{font-size:13px!important}
 html .front-main .site-card:not(.has-description)>.site-logo{width:16px;height:16px;flex-basis:16px}
 html .front-main .site-card:not(.has-description)>.site-logo img{width:16px;height:16px}
}

/* V298: a faint one-pixel divider below the mobile header. */
@media(max-width:820px){
 html .front-main>.front-pagebar{border-bottom:1px solid rgba(0,0,0,.055)!important}
 html[data-theme="dark"] .front-main>.front-pagebar{border-bottom-color:rgba(255,255,255,.065)!important}
}

/* V311: compact mobile proportions, transparent search action, and smaller category labels. */
@media(max-width:820px){
 html .front-main .front-content .category>.cards>.site-card.has-description{height:58px!important;min-height:58px!important;grid-template-columns:20px minmax(0,1fr)!important;column-gap:8px!important;padding:8px 10px!important;border-radius:9px!important}
 html .front-main .site-card.has-description>.site-logo{width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important}
 html .front-main .site-card.has-description>.site-logo img{width:20px!important;height:20px!important}
 html .front-main .site-card.has-description>.site-card-copy{grid-template-rows:18px 15px!important;gap:2px!important}
 html .front-main .front-content .category>.cards>.site-card.has-description>.site-card-copy>b{height:18px!important;font-size:13px!important;line-height:18px!important;padding-right:4px!important}
 html .front-main .site-card.has-description .site-card-description{height:15px!important;font-size:11px!important;line-height:15px!important}
 html .front-main #searchForm .search-submit,html .front-main #searchForm .search-submit:is(:hover,:focus,:active,:disabled){background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;color:var(--brand,#283593)!important}
 html .front-main #searchForm .search-submit :is(svg,.utility-icon){color:inherit!important}
 html .front-main .category>.section-title>.category-heading{font-size:16px!important}
 html .front-main .category>.section-title .subcategory-tabs>.subcategory-tab{font-size:14px!important}
}
@media(max-width:370px){
 html .front-main .front-content .category>.cards>.site-card.has-description{height:54px!important;min-height:54px!important;grid-template-columns:18px minmax(0,1fr)!important;column-gap:7px!important;padding:7px 8px!important}
 html .front-main .site-card.has-description>.site-logo{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important}
 html .front-main .site-card.has-description>.site-logo img{width:18px!important;height:18px!important}
 html .front-main .site-card.has-description>.site-card-copy{grid-template-rows:17px 14px!important}
 html .front-main .front-content .category>.cards>.site-card.has-description>.site-card-copy>b{height:17px!important;font-size:12px!important;line-height:17px!important}
 html .front-main .site-card.has-description .site-card-description{height:14px!important;font-size:10.5px!important;line-height:14px!important}
 html .front-main .category>.section-title>.category-heading{font-size:15px!important}
 html .front-main .category>.section-title .subcategory-tabs>.subcategory-tab{font-size:13px!important}
}

/* V312: larger detail entry in both plain and description cards. */
html .front-main .site-card>.site-detail-corner{width:32px;height:30px;padding:6px 6px 0 0}
html .front-main .site-card>.site-detail-corner svg{width:14px;height:14px}
html .front-main .front-content .category>.cards>.site-card:has(>.site-detail-corner)>b,html .front-main .front-content .category>.cards>.site-card:has(>.site-detail-corner)>.site-card-copy>b{box-sizing:border-box;padding-right:12px!important}

/* V313: override the later reference-search skin in mobile light mode as well. */
@media(max-width:820px){
 html .front-main .front-content .reference-search #searchForm .search-submit,html .front-main .front-content .reference-search #searchForm .search-submit:is(:hover,:focus,:active,:disabled){background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;color:var(--brand,#283593)!important;filter:none!important}
 html .front-main .front-content .reference-search #searchForm .search-submit::before,html .front-main .front-content .reference-search #searchForm .search-submit::after{display:none!important}
 html .front-main>.front-pagebar{height:56px!important;min-height:56px!important;padding-top:0!important;padding-bottom:0!important}
 html .front-pagebar .mobile-header-logo{height:38px}
 html .front-pagebar .site-star{top:50%;transform:translateY(-50%)}
}

/* V314: a subtle mobile type increase for friend links and footer information. */
@media(max-width:820px){
 html .front-main .community-friends li,html .front-main .community-friends li a{font-size:12px}
 html .front-main .front-footer :is(.footer-links,.copyright,.footer-site-info span,.footer-site-info a){font-size:10px}
}
/* Shared dice transition for mobile and desktop star controls. */
html .site-star>svg{opacity:1;transition:opacity .18s,transform .18s}
html .site-star.is-rolling>svg{opacity:0;transform:scale(.3) rotate(-45deg);animation:none}
.site-dice{position:fixed;left:50%;top:30vh;transform:translate(-50%,0);z-index:1100;display:block;width:84px;height:84px;padding:0;border:0;background:transparent;perspective:650px;perspective-origin:50% 40%;pointer-events:none}
.site-dice-cube{position:relative;width:84px;height:84px;transform-style:preserve-3d;will-change:transform}
.site-dice-face{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:7px;box-sizing:border-box;padding:14px;border:1px solid #c7ccd7;border-radius:12px;backface-visibility:hidden;background:linear-gradient(145deg,#fff,#e9edf4);box-shadow:inset 0 0 0 2px #ffffff9c,inset 0 -4px 8px #b7bfcc36}
.site-dice-face-1{transform:translateZ(42px)}
.site-dice-face-6{transform:rotateY(180deg) translateZ(42px)}
.site-dice-face-3{transform:rotateY(90deg) translateZ(42px);background:linear-gradient(135deg,#e1e6ef,#bec8d6)}
.site-dice-face-4{transform:rotateY(-90deg) translateZ(42px);background:linear-gradient(135deg,#e6eaf2,#c8d0de)}
.site-dice-face-2{transform:rotateX(90deg) translateZ(42px);background:linear-gradient(135deg,#fff,#edf0f7)}
.site-dice-face-5{transform:rotateX(-90deg) translateZ(42px);background:linear-gradient(135deg,#c7d0dd,#aebbd0)}
.site-dice-face>i{display:block;align-self:center;justify-self:center;width:12px;height:12px;border-radius:50%;background:transparent}
.site-dice-face>i.is-dot{background:radial-gradient(circle at 65% 72%,#4055b6,#19245c 90%);box-shadow:inset 1px 2px 3px #070e3c77,0 1px 0 #fff}
.site-dice-ground{position:fixed;left:50%;z-index:1099;transform:translateX(-50%);width:100px;height:19px;border-radius:50%;background:#142044;filter:blur(7px);opacity:.2;pointer-events:none}
.site-dice-result{position:absolute;top:calc(100% + 25px);left:50%;transform:translateX(-50%);color:var(--brand,#283593);font:700 26px/1.3 system-ui,sans-serif;white-space:nowrap}
html[data-theme="dark"] .site-dice-face{border-color:#8692a5}
html[data-theme="dark"] .site-dice-ground{background:#000;opacity:.35}
.site-dice-status{position:fixed;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(prefers-reduced-motion:reduce){html .site-star>svg{transition:none}}

/* V317: desktop footer information spans the full main area, independent of the directory width. */
@media(min-width:821px){
 html .front-main>.front-footer .footer-inner{width:100%;max-width:none;margin-left:0;margin-right:0;padding-left:20px;padding-right:20px;grid-template-columns:minmax(0,1fr)}
 html .front-main>.front-footer .footer-bottom{width:100%;min-width:0;justify-content:space-between}
 html .front-main>.front-footer .footer-bottom>.footer-links{justify-content:flex-start;text-align:left;margin-right:auto}
 html .front-main>.front-footer .footer-bottom>.copyright{justify-content:flex-end;text-align:right;margin-left:auto}
 html .front-back-top{bottom:var(--desktop-back-top-bottom,18px)!important}
}

/* V331: message card uses the article card's top rule and attached title tab. */
html .front-main .message-page-shell{padding:24px;border-top:4px solid #283593;border-radius:4px 4px 14px 14px}
html .front-main .message-page-shell::before{content:none}
html .front-main .message-page-shell .message-page-head>h2{display:table;max-width:calc(100% - 12px);box-sizing:border-box;margin:-24px 0 24px 6px;padding:12px 20px 14px;border-radius:0 0 12px 12px;background:#283593;color:#fff;font-size:22px;font-weight:700;line-height:1.5;letter-spacing:normal;overflow-wrap:anywhere}
html .front-main .message-page-shell .message-page-head>p{margin:0;color:var(--muted)}
@media(max-width:820px){
 html .front-main .message-page-shell{padding:18px}
 html .front-main .message-page-shell .message-page-head>h2{margin-top:-18px;margin-left:12px;margin-bottom:22px}
}
@media(max-width:620px){
 html .front-main .message-page-shell .message-page-head>h2{margin-left:2px;max-width:calc(100% - 4px);padding:10px 16px 12px;font-size:19px;border-radius:0 0 10px 10px}
}

/* V336: one clipped fill layer for every state; outline always stays above it. */
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card,html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:is(:hover,:focus-visible){isolation:isolate;overflow:visible!important;background:transparent!important;border:0!important;border-radius:10px!important;box-shadow:none!important;--website-card-fill:transparent}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card::before{content:"";display:block!important;position:absolute;inset:auto;top:0!important;left:0!important;width:100%!important;height:100%!important;border:0;border-radius:10px!important;clip-path:none!important;transform:none!important;background-color:var(--website-card-fill)!important;background-image:none;background-repeat:no-repeat;background-size:100% 100%;background-position:0 -88px;pointer-events:none;z-index:-1;transition:background-color .3s ease,background-position .3s ease}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card::after{content:"";display:block!important;position:absolute;inset:auto;top:0;left:0;width:100%;height:100%;box-sizing:border-box;border:1px solid #f1f2f3;border-radius:10px;transform:none;transform-origin:0 0;background:transparent!important;box-shadow:none;pointer-events:none;z-index:2;opacity:1;visibility:visible;transition:none!important;animation:none!important;filter:none;will-change:auto}
@media(min-width:821px) and (hover:hover){
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:is(:hover,:focus-visible){--website-card-fill:#f1f2f3}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card.is-vertical::before{background-image:radial-gradient(ellipse 100% 50% at 50% 50%,#fff 99%,transparent 100%)}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card.is-vertical:is(:hover,:focus-visible)::before{background-position:0 -6px}
}
html:root[data-theme="dark"] body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card,html:root[data-theme="dark"] body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:is(:hover,:focus-visible){--website-card-fill:#303234}
html:root[data-theme="dark"] body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card::before{background-image:none!important}
html:root[data-theme="dark"] body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card::after{border-color:#333537}
@media(max-width:820px){
/* V376: reference mobile hairline, not an inset shadow. */
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card::after{width:200%;height:200%;border:1px solid #dee0e5;border-radius:20px;transform:scale(.5);transform-origin:0 0;opacity:1;visibility:visible;transition:none!important;animation:none!important;will-change:auto;box-shadow:none!important}
html:root[data-theme="dark"] body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card::after{border-color:#333537}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card::before,html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:is(:hover,:focus-visible)::before{background-image:none!important;transition:none!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical){display:flex!important;align-items:center!important;height:41px!important;min-height:41px!important;padding:9px 8.6px!important;gap:8px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical)>.site-logo{width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;flex:0 0 20px!important;margin:0 0 0 2px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical)>.site-logo img{width:20px!important;height:20px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical)>b{font-size:14px!important;line-height:21px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card.has-description:not(.is-vertical){height:69px!important;min-height:69px!important;padding:14px 10.6px!important;grid-template-columns:25px minmax(0,1fr)!important;column-gap:10px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card.has-description:not(.is-vertical)>.site-logo{width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;margin:0 0 0 5px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card.has-description:not(.is-vertical)>.site-logo img{width:20px!important;height:20px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card.has-description:not(.is-vertical)>.site-card-copy{grid-template-rows:21px 18px!important;gap:0!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card.has-description:not(.is-vertical)>.site-card-copy>b{height:21px!important;font-size:14px!important;line-height:21px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card.has-description:not(.is-vertical) .site-card-description{height:18px!important;font-size:12px!important;line-height:18px!important}
}
@media(max-width:370px){
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical){height:40px!important;min-height:40px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical)>.site-logo{width:16px!important;height:16px!important;min-width:16px!important;max-width:16px!important;flex-basis:16px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical)>.site-logo img{width:16px!important;height:16px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical)>b{font-size:13px!important;line-height:19.5px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card.has-description:not(.is-vertical){height:55px!important;min-height:55px!important;padding:9px!important;grid-template-columns:21px minmax(0,1fr)!important;column-gap:8px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card.has-description:not(.is-vertical)>.site-logo{width:16px!important;height:16px!important;min-width:16px!important;max-width:16px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card.has-description:not(.is-vertical)>.site-logo img{width:16px!important;height:16px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card.has-description:not(.is-vertical)>.site-card-copy{grid-template-rows:19.5px 15px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card.has-description:not(.is-vertical)>.site-card-copy>b{height:19.5px!important;font-size:13px!important;line-height:19.5px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card.has-description:not(.is-vertical) .site-card-description{height:15px!important;font-size:10px!important;line-height:15px!important}
}
@media(max-width:820px){html:root body:not(.admin-backend) .front-main>.front-pagebar{background:#fff!important;border-bottom-color:transparent!important;box-shadow:none!important}html:root[data-theme="dark"] body:not(.admin-backend) .front-main>.front-pagebar{background:#2c2e2f!important;box-shadow:0 0 25px 5px rgba(10,10,10,.25)!important}}
@media(prefers-reduced-motion:reduce){html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card::before{transition:none!important}}

/* V366: compact separators; mobile footer groups wrap naturally and align right. */
html .front-footer .footer-links>:is(a,button)+:is(a,button)::before{margin:0 5px}
@media(max-width:820px){
 html .front-main>.front-footer .footer-bottom{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px 16px;min-width:0}
 html .front-main>.front-footer .footer-bottom>.footer-links,
 html .front-main>.front-footer .footer-bottom>.copyright{flex:0 1 max-content;max-width:100%;min-width:0;margin-left:0;margin-right:0;justify-content:flex-end;text-align:right;align-self:auto}
 html .front-main>.front-footer .footer-bottom>.footer-links{flex-wrap:wrap;overflow:visible;white-space:normal;gap:3px 0}
 html .front-main>.front-footer .footer-bottom>.copyright{display:flex;flex-wrap:wrap;gap:3px 8px;overflow-wrap:anywhere}
 html .front-main>.front-footer .footer-links>:is(a,button){max-width:100%;overflow-wrap:anywhere;white-space:normal}
}

/* V368: never paint the history launcher in its temporary footer position. */
html #browseHistoryOpen[hidden]{display:none!important}
@media(min-width:821px){
 html .front-main .front-pagebar #browseHistoryOpen.header-history{background:var(--surface-2,#f1f2f3)!important;border-radius:8px;transition:color .15s,background-color .15s}
 html .front-main .front-pagebar #browseHistoryOpen.header-history:hover{background:var(--surface-3,var(--surface-2,#e7e9ec))!important}
}

/* V370: desktop history matches the star's 30px height, with a quiet monochrome glyph. */
@media(min-width:821px){
 html .front-main .front-pagebar #browseHistoryOpen.header-history,
 html .front-main .front-pagebar #browseHistoryOpen.header-history:hover{
  box-sizing:border-box;width:30px;min-width:30px;max-width:30px;height:30px;min-height:30px;max-height:30px;flex:0 0 30px;padding:7px;gap:0;
  background:var(--surface-2,#f1f2f3)!important;color:var(--muted)!important;border-radius:7px;transition:none!important;animation:none!important;filter:none!important;
 }
 html .front-main .front-pagebar #browseHistoryOpen.header-history :is(svg,.utility-icon){width:16px;height:16px;min-width:16px;max-width:16px;flex:0 0 16px;color:inherit!important;transition:none!important;animation:none!important;transform:none!important;filter:grayscale(1)}
 html .front-main .front-pagebar #browseHistoryOpen.header-history .utility-icon img{filter:grayscale(1);transition:none!important;transform:none!important}
}

/* V371: bright light-mode glyph on white; dark mode stays monochrome. */
@media(min-width:821px){
 html:not([data-theme="dark"]) .front-main .front-pagebar #browseHistoryOpen.header-history,
 html:not([data-theme="dark"]) .front-main .front-pagebar #browseHistoryOpen.header-history:hover{background:#fff!important;color:var(--brand,#283593)!important}
 html:not([data-theme="dark"]) .front-main .front-pagebar #browseHistoryOpen.header-history :is(svg,.utility-icon),
 html:not([data-theme="dark"]) .front-main .front-pagebar #browseHistoryOpen.header-history .utility-icon img{filter:none!important}
}

/* V376: use the reference font glyph as a vector; no substituted corner shape. */
html .front-main .site-card .site-detail-corner{color:#283593;opacity:.08;transition:opacity .3s;box-shadow:none;text-shadow:none;cursor:pointer}
html .front-main .site-card>.site-detail-corner{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:26px;height:26px;margin:0;padding:0;line-height:24px}
html .front-main .site-card .site-detail-corner>svg{display:none!important}
html .front-main .site-card .site-detail-corner::before{content:"";display:block;width:12px;height:12px;background:currentColor;-webkit-mask:url("img/site-detail.svg?v=376") center/contain no-repeat;mask:url("img/site-detail.svg?v=376") center/contain no-repeat;pointer-events:none}
html .front-main .site-card>.site-card-corners{top:3px;right:10px;gap:2px;height:24px}
html .front-main .site-card .site-card-corners>.site-detail-corner{flex:0 0 14px;width:14px;height:24px;padding:2px 0 0;box-sizing:border-box;opacity:.25}
html .front-main .site-card .site-card-corners>.site-detail-corner::before{width:13px;height:13px}
html .front-main .site-card:is(:hover,:focus-within) .site-detail-corner,html .front-main .site-card .site-detail-corner:is(:hover,:focus-visible){opacity:1;color:#283593;text-shadow:none}
html[data-theme="dark"] .front-main .site-card .site-detail-corner{color:#e5c977;opacity:.06}
html[data-theme="dark"] .front-main .site-card:is(:hover,:focus-within) .site-detail-corner,html[data-theme="dark"] .front-main .site-card .site-detail-corner:is(:hover,:focus-visible){color:#e5c977;opacity:.8}
html[data-theme="dark"] .front-main .site-card .site-card-corners>.site-detail-corner{color:#b8b8b8;opacity:.25}
html[data-theme="dark"] .front-main .site-card:is(:hover,:focus-within) .site-card-corners>.site-detail-corner,html[data-theme="dark"] .front-main .site-card .site-card-corners>.site-detail-corner:is(:hover,:focus-visible){color:#b8b8b8;opacity:1}
@media(prefers-reduced-motion:reduce){html .front-main .site-card .site-detail-corner{transition:none}}

/* V396 slightly larger desktop cards without descriptions. */
@media(min-width:821px){
 html .front-main .front-content .category>.cards>.site-card:not(.has-description):not(.is-vertical){height:48px!important;min-height:48px!important}
 html .front-main .front-content .category>.cards>.site-card:not(.has-description):not(.is-vertical)>b{font-size:14px!important;line-height:21px!important}
}

/* V403: reference compact cards use content height plus padding. */
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical):not(.is-grouped-row){display:flex!important;align-items:center!important;box-sizing:border-box!important;height:45px!important;min-height:45px!important;padding:12px 9.6px!important;gap:12px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical):not(.is-grouped-row)>.site-logo{width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;flex:0 0 20px!important;margin:0 0 0 3px!important;padding:0!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical):not(.is-grouped-row)>.site-logo img{width:20px!important;height:20px!important}
html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical):not(.is-grouped-row)>b{font-size:14px!important;line-height:21px!important}
@media(max-width:820px){
 html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical):not(.is-grouped-row){height:41px!important;min-height:41px!important;padding:10px 9.6px!important;gap:10px!important}
 html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical):not(.is-grouped-row)>.site-logo{margin-left:2px!important}
}
@media(max-width:370px){
 html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical):not(.is-grouped-row){height:39.5px!important;min-height:39.5px!important;gap:8px!important}
 html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical):not(.is-grouped-row)>.site-logo{width:16px!important;height:16px!important;min-width:16px!important;max-width:16px!important;flex-basis:16px!important}
 html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical):not(.is-grouped-row)>.site-logo img{width:16px!important;height:16px!important}
 html:root body:not(.admin-backend) .front-main .front-content .category>.cards>.site-card.site-card:not(.has-description):not(.is-vertical):not(.is-grouped-row)>b{font-size:13px!important;line-height:19.5px!important}
}
