/* Opt-in local reference shells. No remote frame, tracker, font or draw source. */
.site-template-preview--portal-xln39821,
.public-site:has(.public-home--portal-xln39821) {
    --tpl-page: #f4f4f4; --tpl-shell: #69f7d0; --tpl-brand: #008080;
    --tpl-frame: #008080; --tpl-head: linear-gradient(#95c2c4, #f7f3f3);
    --tpl-head-text: #080808; --tpl-surface: #fff; --tpl-ink: #080808;
    --tpl-line: #a8b7b7; --tpl-shadow: none;
}
.site-template-preview--portal-blue72517,
.public-site:has(.public-home--portal-blue72517) {
    --tpl-page: #edf2f4; --tpl-shell: #e5f0f4; --tpl-brand: #0b618b;
    --tpl-frame: #0b618b; --tpl-head: linear-gradient(#d9f0fc, #91c2de);
    --tpl-head-text: #143a55; --tpl-surface: #fff; --tpl-ink: #111;
    --tpl-line: #a1afb6; --tpl-shadow: none;
}
.public-home.public-home--forum-reference {
    --forum-color: #008080; --forum-light: #69f7d0; --forum-ball-height: 78px;
    padding: 0; color: #080808; background: #fff;
    font-family: "Microsoft YaHei", "PingFang SC", Helvetica, Arial, sans-serif;
}
.public-home.public-home--portal-blue72517 { --forum-color: #0b618b; --forum-light: #e5f0f4; }
.public-home--forum-reference a { text-decoration: none; }
.public-home--forum-reference a:focus-visible { outline: 3px solid #e69900; outline-offset: -3px; }
.public-home.public-home--forum-reference .pub-home-fixed {
    position: static; height: auto; overflow: visible; transform: none;
    padding: 0; border: 0; border-radius: 0; background: var(--forum-light); box-shadow: none;
}
.forum-calendar {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 0 3px; padding: 9px 4px; margin-bottom: 5px; border-radius: 5px;
    background: #008080; color: #070707; font-size: 21px; font-weight: 800; line-height: 1.6;
}
.forum-calendar > span { white-space: nowrap; }
.forum-calendar > span + span::before { content: "."; }
.forum-calendar mark { padding: 0 2px; background: transparent; color: inherit; }
.forum-masthead {
    position: relative; min-width: 0; aspect-ratio: 720 / 255;
    overflow: hidden; border: 4px solid var(--forum-color); border-radius: 5px;
    background: linear-gradient(115deg, #384c54, #967b7e 52%, #294e56);
}
.public-home--portal-blue72517 .forum-masthead { aspect-ratio: 720 / 190; border: 0; border-radius: 0; background: linear-gradient(110deg, #0c7198, #8cbacb 58%, #d7d9c8); }
.forum-masthead-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.forum-brand-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 20px 12%; }
.forum-brand-copy h1 { margin: 0; max-width: 100%; color: #e71920; font-family: KaiTi, STKaiti, "Microsoft YaHei", serif; font-size: clamp(26px, 5vw, 48px); font-weight: 900; line-height: 1.35; overflow-wrap: anywhere; text-shadow: 1px 1px #ffe4a2, -1px -1px #ffe4a2, 0 0 7px #f5df8d; }
.forum-brand-copy p { margin: 0; max-width: 100%; color: #fff; font-size: clamp(16px, 3vw, 29px); font-weight: 800; overflow-wrap: anywhere; text-shadow: 0 1px 3px #000; }
.public-home--portal-blue72517 .forum-brand-copy h1 { color: #064e7e; text-shadow: 1px 1px #fff, -1px -1px #fff, 0 3px 2px #24475e; }
.public-home--portal-blue72517 .forum-brand-copy p { align-self: flex-start; padding: 2px 14px; border-radius: 22px; background: #075b8d; text-shadow: none; }
.forum-brand-logo { display: block; width: 100%; height: 100%; max-height: 255px; aspect-ratio: 720 / 255; object-fit: contain; }
.forum-brand-preset { display: flex; align-items: center; justify-content: center; gap: clamp(.7rem, 3vw, 1.6rem); min-height: 160px; width: 100%; padding: 1.5rem 1rem; }
.forum-brand-preset img { width: clamp(64px, 15vw, 96px); height: auto; flex-shrink: 0; }
.forum-brand-preset h1 { margin: 0; font-size: clamp(1.35rem, 4.5vw, 2.8rem); font-weight: 800; color: inherit; overflow-wrap: anywhere; }
.forum-brand-preset p { margin: .5rem 0 0; font-size: clamp(.75rem, 2vw, 1rem); opacity: .8; overflow-wrap: anywhere; }
.public-home.public-home--forum-reference .forum-masthead:has(.forum-brand-preset) { aspect-ratio: auto; min-height: 160px; }
.forum-brand-preset > div { min-width: 0; }
.public-home--portal-blue72517 .forum-brand-logo { max-height: 190px; aspect-ratio: 720 / 190; }
.forum-site-ribbon { margin: 5px 7px 0; padding: 6px 8px; border-radius: 30px; color: #fff; background: var(--forum-color); text-align: center; font-size: 16px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.forum-site-ribbon > span { margin-left: 7px; }
.forum-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding: 6px 7px; }
.forum-shortcuts a { display: grid; align-items: center; min-height: 32px; padding: 4px 2px; border-radius: 30px; background: var(--forum-color); color: #fff; font-size: 16px; text-align: center; line-height: 1.35; overflow-wrap: anywhere; }
.forum-large-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; padding: 10px 16px; background: #fff; }
.forum-large-links a { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 50px; padding: 5px 8px; border: 2px solid #ff676b; border-radius: 60px; background: linear-gradient(#ccc, #fff); color: #0000ee; box-shadow: 0 3px 7px #0001; font-size: 26px; font-weight: 800; line-height: 1.3; text-align: center; overflow-wrap: anywhere; }
.forum-large-links a:nth-child(4n) { color: #e00; }
.forum-large-links a:nth-child(4n + 1) { color: #080; }
.forum-large-links a.forum-large-link--primary { grid-column: 1 / -1; color: #7200c4; }
.forum-large-links a.forum-large-link--primary:nth-child(2) { color: #e00; }
.public-home.public-home--forum-reference .pub-tabs { gap: 6px; height: auto; padding: 5px 7px; background: #fff; }
.public-home.public-home--forum-reference .pub-tab { min-height: 32px; border: 0; border-radius: 3px; background: #eee; color: #111; font-size: 15px; text-shadow: none; }
.public-home.public-home--forum-reference .pub-tab.active { color: #fff; background: var(--forum-color); }
.public-home.public-home--forum-reference .pub-draw-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px; align-items: center; height: auto; min-height: 0; padding: 0 8px 5px; overflow: visible; border: 0; border-bottom: 5px solid var(--forum-light); }
.public-home.public-home--forum-reference .pub-result-row,
.public-home.public-home--forum-reference .pub-draw-pending { grid-column: 1 / -1; min-width: 0; }
.public-home.public-home--forum-reference .pub-draw-summary { grid-template-columns: minmax(0, 1fr) auto auto; height: auto; min-height: 32px; gap: 7px; font-size: 16px; }
.public-home.public-home--forum-reference .pub-draw-countdown { color: #111; font-size: 16px; }
.public-home.public-home--forum-reference .pub-history-link { color: #e22615; font-size: 14px; }
.public-home.public-home--forum-reference .pub-ball-row { align-items: center; gap: 5px; height: auto; min-height: var(--forum-ball-height); padding: 2px 0; overflow: visible; filter: none; }
.public-home.public-home--forum-reference .pub-ball-wrap { flex: 1 1 0; max-width: none; min-width: 0; }
.public-home.public-home--forum-reference .pub-ball-plus { flex: 0 0 14px; margin: 0; font-size: 23px; color: #d71919; }
.public-home.public-home--forum-reference .pub-ball { width: 100%; max-width: 100%; min-height: var(--forum-ball-height); height: auto; }
/* Older WebKit can position grid text outside an auto-sized flex item, where
   the ball clips it entirely. Flex centering keeps the number in the ball. */
.public-home.public-home--forum-reference .pub-ball .result-ball-number { display: flex; align-items: center; justify-content: center; flex: 1 0 auto; height: auto; min-height: 1.2em; text-shadow: none; font-size: 28px !important; }
.public-home.public-home--forum-reference .pub-ball .result-ball-meta { flex: 0 0 auto; height: auto; min-height: 18px; padding: 1px 2px; font-size: 13px !important; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }
.public-home.public-home--forum-reference.ball-size--small { --forum-ball-height: 68px; }
.public-home.public-home--forum-reference.ball-size--large { --forum-ball-height: 88px; }
.public-home.public-home--forum-reference.ball-text--small .pub-ball .result-ball-number { font-size: 24px !important; }
.public-home.public-home--forum-reference.ball-text--large .pub-ball .result-ball-number { font-size: 32px !important; }
.public-home.public-home--forum-reference.ball-text--small .pub-ball .result-ball-meta { font-size: 11px !important; }
.public-home.public-home--forum-reference.ball-text--large .pub-ball .result-ball-meta { font-size: 15px !important; }
.public-home.public-home--forum-reference.ball-style--classic-card .pub-ball { border: 0; border-radius: 3px; box-shadow: none; background-image: none; padding: 3px; }
.public-home.public-home--portal-xln39821.ball-style--classic-card .pub-ball:not(.pub-ball-pending) { background: #fff; }
.public-home--forum-reference .pub-ball.wave-red { --forum-wave: #e51b0e; }
.public-home--forum-reference .pub-ball.wave-green { --forum-wave: #13a42c; }
.public-home--forum-reference .pub-ball.wave-blue { --forum-wave: #168cea; }
.public-home--forum-reference .pub-ball.wave-none { --forum-wave: #64748b; }
.public-home.public-home--portal-xln39821.ball-style--classic-card .pub-ball:not(.pub-ball-pending) { justify-content: center; gap: 2px; }
.public-home.public-home--portal-xln39821.ball-style--classic-card .pub-ball:not(.pub-ball-pending) .result-ball-number { flex: 0 0 auto; width: min(100%, 54px); height: auto; min-height: 0; margin: 0 auto; aspect-ratio: 1; border: 3px solid var(--forum-wave, #64748b); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 45%, #d0e4ea); color: #080808; }
/* A shape's width owns its height; metadata is a separate caption, not squeezed
   into the curved/clip-path edge. Only these two opt-in shells are affected. */
.public-home.public-home--forum-reference:is(.ball-style--flat-round, .ball-style--glossy-round, .ball-style--ring-round, .ball-style--neon-round, .ball-style--gold-medal, .ball-style--capsule, .ball-style--hexagon) .pub-ball-wrap {
    justify-content: center;
}
.public-home.public-home--forum-reference:is(.ball-style--flat-round, .ball-style--glossy-round, .ball-style--ring-round, .ball-style--neon-round, .ball-style--gold-medal, .ball-style--capsule, .ball-style--hexagon) .pub-ball-wrap:has(.result-ball-meta, .pub-ball-pending) { padding-bottom: 42px; }
.public-home.public-home--forum-reference:is(.ball-style--flat-round, .ball-style--glossy-round, .ball-style--ring-round, .ball-style--neon-round, .ball-style--gold-medal, .ball-style--capsule, .ball-style--hexagon) .pub-ball {
    position: relative; display: grid; place-items: center;
    width: min(100%, var(--forum-ball-height)); min-height: 0; height: auto;
    aspect-ratio: 1; overflow: visible;
}
.public-home.public-home--forum-reference.ball-style--capsule .pub-ball { aspect-ratio: 1.2; }
.public-home.public-home--forum-reference:is(.ball-style--flat-round, .ball-style--glossy-round, .ball-style--ring-round, .ball-style--neon-round, .ball-style--gold-medal, .ball-style--capsule, .ball-style--hexagon) .pub-ball .result-ball-number {
    width: 100%; height: 100%; min-height: 0;
}
.public-home.public-home--forum-reference:is(.ball-style--flat-round, .ball-style--glossy-round, .ball-style--ring-round, .ball-style--neon-round, .ball-style--gold-medal, .ball-style--capsule, .ball-style--hexagon) .pub-ball .result-ball-meta {
    position: absolute; top: calc(100% + 5px); left: 50%; transform: translateX(-50%);
    width: max-content; max-width: calc(100% + 6px); margin: 0; padding: 0;
    border-radius: 0; background: transparent; color: #222;
}
.public-home.public-home--forum-reference.ball-style--hexagon .pub-ball { isolation: isolate; clip-path: none; background: transparent; }
.public-home.public-home--forum-reference.ball-style--hexagon .pub-ball::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--forum-wave, #64748b); clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
}
.public-home.public-home--forum-reference.ball-style--hexagon .pub-ball-pending::before { background: #b1c3cb; }
.public-home.public-home--forum-reference .pub-ball-pending { filter: none; background: #b1c3cb; }
.public-home.public-home--forum-reference .pub-ball-wait-text { color: #29404c; text-shadow: none; font-size: 22px; line-height: 1.2; }
.public-home.public-home--forum-reference .pub-next-row { display: block; grid-column: 1; grid-row: 2; height: auto; min-width: 0; padding: 3px 0; border: 0; color: #333; font-size: 13px; line-height: 1.5; white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.public-home.public-home--forum-reference :is(.pub-draw-refresh, .pub-draw-simulate) { position: static; grid-row: 2; margin: 0; padding: 5px 6px; min-height: 36px; height: auto; white-space: nowrap; }
.public-home.public-home--forum-reference .pub-draw-refresh { grid-column: 3; color: #fff; background: #ec3b16; border: 0; }
.public-home.public-home--forum-reference .pub-draw-simulate { grid-column: 2; color: #12475b; background: #eaf5f7; }
.public-home.public-home--forum-reference .pub-draw-refresh-status { position: static; display: block; grid-column: 1 / -1; grid-row: 3; margin: 0; color: #075a55; font-size: 12px; }
.public-home.public-home--forum-reference .pub-draw-refresh-status:empty { display: none; }
.forum-domain-note { display: grid; gap: 4px; padding: 12px 8px; border-bottom: 3px solid var(--forum-color); background: #fff; color: #08796f; text-align: center; font-weight: 700; }
.forum-domain-note strong { color: #ed160c; font-size: 23px; overflow-wrap: anywhere; }
.forum-domain-note small { color: #555; font-size: 12px; font-weight: 400; }
.public-home.public-home--forum-reference .pub-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 5px 0; padding: 0; border: 1px solid var(--forum-color); border-radius: 3px; background: #fff; box-shadow: none; }
.public-home.public-home--forum-reference .pub-link-grid a { display: grid; place-items: center; min-height: 38px; padding: 5px 3px; border: 1px solid #d1d8d8; border-radius: 0; background: linear-gradient(#fff, #eee, #fff); color: #008080; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.public-home.public-home--portal-blue72517 .pub-link-grid a { color: #0b618b; }
.public-home.public-home--forum-reference .pub-material-block { margin: 5px 0; padding: 0; overflow: hidden; border: 2px solid var(--forum-color); border-radius: 4px; background: #fff; box-shadow: none; }
.public-home.public-home--forum-reference .pub-material-block-head { padding: 7px 5px; border: 0; border-bottom: 1px solid #9daeb4; border-radius: 0; color: #080808; background: linear-gradient(#7fb1b4, #f7f3f3); font-size: 19px; font-weight: 800; text-align: center; line-height: 1.5; }
.public-home.public-home--portal-blue72517 .pub-material-block-head { color: #123c58; background: linear-gradient(#d9f0fc, #91c2de); font-family: KaiTi, STKaiti, "Microsoft YaHei", serif; }
.public-home.public-home--forum-reference .pub-material-lines { margin: 0; padding: 0; background: #fff; }
.public-home.public-home--forum-reference .pub-material-line { margin: 0; padding: 3px 5px; border-bottom: 1px solid #a8b7b7; background: #fff; color: #080808; font-size: 19px; font-weight: 700; line-height: 1.7; text-align: center; white-space: normal; overflow-wrap: anywhere; }
.public-home.public-home--forum-reference .pub-material-line:last-child { border-bottom: 0; }
.public-home--forum-reference .forum-material-period { color: #080808; }
.public-home--forum-reference .forum-material-category { color: #00a000; }
.public-home--forum-reference .forum-material-prediction { color: #0000ed; }
.public-home.public-home--portal-blue72517 .pub-material-line { text-align: left; background: #f3f3f3; font-family: KaiTi, STKaiti, "Microsoft YaHei", serif; }
.public-home--portal-blue72517 .forum-material-category { color: #0000cc; }
.public-home--portal-blue72517 .forum-material-prediction { color: #e00000; font-size: 1.1em; }
.public-home.public-home--forum-reference .pub-material-fixed-text,
.public-home.public-home--forum-reference .pub-material-empty,
.public-home.public-home--forum-reference .pub-material-image-wrap { padding: 10px; margin: 0; background: #fff; color: #111; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.public-home.public-home--forum-reference .pub-material-image { display: block; width: auto; max-width: 100%; height: auto; margin: auto; }
.public-home.public-home--forum-reference .pub-column-layout--card { border-radius: 10px; box-shadow: 0 2px 7px #0002; margin-bottom: 12px; }
.public-home.public-home--forum-reference .pub-column-layout--section { border-left: 4px solid var(--forum-color); }
.public-home.public-home--forum-reference .pub-column-layout--compact .pub-material-line { padding-top: 2px; padding-bottom: 2px; line-height: 1.4; }
.public-home.public-home--forum-reference .pub-column-layout--emphasis .pub-material-block-head { font-size: 1.1em; }
.public-home.public-home--forum-reference .pub-column-custom-background :is(.forum-material-period, .forum-material-category, .forum-material-prediction) { color: var(--column-ink) !important; }
/* Jade footer: quiet centred lines on white. */
.jade-site-footer { display: grid; gap: 4px; justify-items: center; padding: 16px 12px 20px; border-top: 1px solid #b2d8ce; background: #fff; color: #0f6b5f; text-align: center; font-size: 12px; }
.jade-site-footer strong { font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.jade-site-footer span { color: #5b8a80; letter-spacing: .5px; overflow-wrap: anywhere; }
.jade-site-footer a { margin-top: 2px; color: #0f6b5f; font-size: 13px; line-height: 1; text-decoration: none; }
/* Moon footer: dark left-aligned card with a square back-to-top key. */
.moon-site-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 14px 16px; background: linear-gradient(100deg, #0b3f5e, #0b618b); color: #dbeaf2; font-size: 12px; }
.moon-site-footer-copy { display: grid; gap: 3px; min-width: 0; text-align: left; }
.moon-site-footer-copy strong { color: #fff; font-size: 14px; letter-spacing: 1px; }
.moon-site-footer-copy span { color: #a9c9d8; overflow-wrap: anywhere; }
.moon-site-footer a { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ffffff59; border-radius: 6px; color: #fff; font-size: 16px; }
/* Blue complete library: traditional compact tables, independent of jade and TT. */
.public-home--portal-blue72517 .forum-masthead:has(.forum-brand-logo--generated) { aspect-ratio: 3 / 1; }
.public-home--portal-blue72517 .forum-brand-logo--generated { max-height: none; aspect-ratio: 3 / 1; }
.public-home.public-home--portal-blue72517 .pub-link-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 3px; padding: 4px; }
.public-home.public-home--portal-blue72517 .pub-link-grid a { min-height: 30px; padding: 4px 2px; font-size: 13px; overflow-wrap: anywhere; }
.public-home.public-home--portal-blue72517 .pub-material-block { border: 1px solid #9ba6ac; border-radius: 0; margin-bottom: 7px; }
.public-home.public-home--portal-blue72517 .pub-material-block-head { display: block; padding: 5px 4px; background: linear-gradient(#bdc8d0,#f0f0f0 60%,#e1e6e9); font-size: 23px; line-height: 1.5; }
.moon-material-rows { background: #fff; font-family: KaiTi,STKaiti,"Microsoft YaHei",serif; }
.moon-expert-directory { border: 1px solid #b9c7d0; margin: 6px 0; background: #fff; }
.moon-expert-heading { padding: 6px; background: linear-gradient(#a9c3d6,#eaf1f6); color: #073e68; text-align: center; font-weight: 800; }
.moon-expert-directory a { display: grid; grid-template-columns: 4.5em minmax(0,1fr) 3em; align-items: center; gap: 4px; padding: 8px 5px; border-bottom: 1px solid #dbe2e7; font-size: 18px; }
.moon-expert-directory a:last-child { border-bottom: 0; }
.moon-expert-name { font-size: .8em; color: #555; }
.moon-expert-directory strong { color: #0000ed; }
.moon-expert-directory a:nth-child(3n) strong { color: #ed0000; }
.moon-expert-go { color: #176895; font-size: .75em; text-align: right; }
.moon-material-legend { border-bottom: 1px solid #c0c0c0; padding: 7px 5px; color: #444; font-size: 17px; font-weight: 700; text-align: center; white-space: pre-line; line-height: 1.5; overflow-wrap: anywhere; }
.moon-material-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 5px; border-bottom: 1px solid #c0c0c0; padding: 5px 4px; font-size: 24px; font-weight: 700; line-height: 1.6; }
.moon-material-row:last-child { border-bottom: 0; }
.moon-material-period { color: #111; white-space: nowrap; }
.moon-material-body { min-width: 0; max-width: 100%; color: #ed0000; white-space: pre-line; overflow-wrap: anywhere; }
.moon-material-result { color: #ed0000; white-space: nowrap; }
.moon-material-row--multiline { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 6px; align-items: start; }
.moon-material-row--multiline .moon-material-period { grid-column: 1; grid-row: 1; text-align: left; }
.moon-material-row--multiline .moon-material-result { grid-column: 2; grid-row: 1; }
.moon-material-row--multiline .moon-material-body { grid-column: 1 / -1; grid-row: 2; text-align: center; }
.moon-reference-checks { display: grid; margin-top: 6px; padding: 3px; border: 1px solid #c6d5df; color: #0000ed; font-size: .8em; white-space: normal; }
.moon-reference-check { display: grid; grid-template-columns: 4.2em minmax(0,1fr) 3.5em; gap: 2px 4px; padding: 3px; border-bottom: 1px solid #e0e8ee; text-align: left; }
.moon-reference-check:last-child { border-bottom: 0; }
.moon-reference-check b { color: #064e7e; }
.moon-reference-check small { color: #ed0000; text-align: right; font-size: 1em; white-space: nowrap; }
.moon-material-rows--cards { padding: 7px; background: var(--column-background,#e5f0f4); }
.moon-material-rows--cards .moon-material-row { margin-bottom: 7px; border: 1px solid #91a8ba; border-radius: 5px; background: #fff; }
.public-home--portal-blue72517 .pub-column-custom-background :is(.moon-material-period,.moon-material-body,.moon-material-legend,.moon-reference-checks,.moon-reference-check b) { color: var(--column-ink) !important; }
.public-home--portal-blue72517 .pub-column-custom-background :is(.moon-material-row,.moon-material-legend) { background: var(--column-background); }
.public-home--portal-blue72517 :is(.reference-material-verdict--miss,.reference-material-result-value--miss) { color: #000 !important; }
@media(max-width:600px) {
 .moon-material-row { font-size: clamp(15px,4.65vw,19px); padding: 5px 3px; gap: 0 3px; }
 .moon-expert-directory a { font-size: clamp(14px,4vw,17px); }
 .moon-material-legend { font-size: 13px; padding: 6px 4px; }
 .public-home.public-home--portal-blue72517 .pub-link-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .public-home.public-home--portal-blue72517 .pub-link-grid a { font-size: clamp(11px,3vw,13px); }
}
/* Semantic visibility must beat every flex/grid rule and reduced-motion preference. */
.public-home--portal-xln39821 .forum-shortcuts { grid-template-columns: repeat(5,minmax(0,1fr)); }
.public-home.public-home--portal-xln39821 .pub-link-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 3px; padding: 4px; }
.public-home.public-home--portal-xln39821 .pub-link-grid a { min-height: 30px; padding: 4px 2px; font-size: 14px; background: #edfff8; border: 1px solid #b2d8ce; }
.public-home--portal-xln39821 .forum-brand-logo--generated { max-height: none; }
.public-home.public-home--portal-xln39821 .pub-material-block { border: 2px solid #008080; border-radius: 0; margin-bottom: 7px; }
.public-home.public-home--portal-xln39821 .pub-material-block-head { display: block; padding: 6px 4px; background: linear-gradient(#91babb,#e7eceb 55%,#f7f3f3); font-size: clamp(15px,2.8vw,23px); line-height: 1.5; }
.jade-heading-brand { color: #111; }
.jade-heading-domain { color: #006a39; font-size: .8em; }
.public-home--portal-xln39821.material-title-color-custom .pub-material-block-head :is(span,strong),
.public-home--portal-xln39821 .pub-column-custom-heading .pub-material-block-head :is(span,strong) { color: inherit; }
.jade-material-rows { background: #fff; }
.jade-material-legend { border-bottom: 1px solid #c0c0c0; padding: 7px 5px; color: #555; font-size: 17px; font-weight: 700; text-align: center; white-space: pre-line; line-height: 1.5; overflow-wrap: anywhere; }
.jade-material-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 5px; border-bottom: 1px solid #c0c0c0; padding: 5px 4px; font-size: 24px; font-weight: 700; line-height: 1.55; }
.jade-material-row:last-child { border-bottom: 0; }
.jade-material-rows--cards { padding: 7px; background: var(--column-background,#edf9f5); }
.jade-material-rows--cards .jade-material-row { margin-bottom: 7px; border: 1px solid #6eb7a0; border-radius: 6px; background: #fff; }
.jade-material-period { color: #111; white-space: nowrap; }
.jade-material-body { min-width: 0; max-width: 100%; color: #0000ed; white-space: pre-line; overflow-wrap: anywhere; }
.jade-material-result { color: #ed0000; white-space: nowrap; }
.jade-ladder { display: grid; }
.jade-ladder-level { display: grid; grid-template-columns: 2.2em minmax(0,1fr) auto; gap: 3px 8px; padding: 4px; border-bottom: 1px solid #e0eeee; text-align: left; }
.jade-ladder-level:last-child { border-bottom: 0; }
.jade-ladder-level b { color: #008080; }
.jade-ladder-level small { display: block; font-size: .8em; overflow-wrap: anywhere; }
.jade-ladder-verdict { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 6px; color: #ed0000; font-size: .7em; }
.jade-ladder-verdict .reference-material-verdict--miss { color: #000; }
.jade-material-row--multiline { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 3px 6px; }
.jade-material-row--multiline .jade-material-period { grid-column: 1; grid-row: 1; text-align: left; }
.jade-material-row--multiline .jade-material-result { grid-column: 2; grid-row: 1; }
.jade-material-row--multiline .jade-material-body { grid-column: 1 / -1; grid-row: 2; text-align: center; }
.public-home--portal-xln39821 .pub-column-custom-background :is(.jade-material-period,.jade-material-body,.jade-material-legend,.jade-heading-brand,.jade-heading-domain) { color: var(--column-ink) !important; }
.public-home--portal-xln39821 .pub-column-custom-background :is(.jade-material-row,.jade-material-legend) { background: var(--column-background); }
.public-home--portal-xln39821 .jade-material-result :is(.reference-material-verdict--miss,.reference-material-result-value--miss) { color: #000 !important; }
.public-home.public-home--forum-reference [hidden] { display: none !important; }
@media (max-width: 600px) {
    .public-home.public-home--forum-reference { --forum-ball-height: 59px; }
    .public-home.public-home--forum-reference.ball-size--small { --forum-ball-height: 53px; }
    .public-home.public-home--forum-reference.ball-size--large { --forum-ball-height: 67px; }
    .forum-calendar { padding: 5px 3px; font-size: 13px; }
    .forum-brand-copy { padding: 10px 8%; gap: 4px; }
    .forum-brand-copy h1 { font-size: clamp(21px, 7vw, 32px); }
    .forum-brand-copy p { font-size: 18px; }
    .forum-site-ribbon { margin: 4px 4px 0; padding: 3px 5px; font-size: 12px; }
    .forum-shortcuts { gap: 4px; padding: 4px; }
    .forum-shortcuts a { min-height: 27px; padding: 3px 2px; font-size: 12px; }
    .forum-large-links { gap: 8px 10px; padding: 8px 10px; }
    .forum-large-links a { min-height: 36px; border-width: 1px; padding: 4px; font-size: 20px; }
    .public-home.public-home--forum-reference .pub-tab { min-height: 30px; font-size: 12px; }
    .public-home.public-home--forum-reference .pub-draw-summary { min-height: 29px; gap: 4px; font-size: 12px; }
    .public-home.public-home--forum-reference .pub-draw-countdown { font-size: 12px; }
    .public-home.public-home--forum-reference .pub-history-link { font-size: 11px; }
    .public-home.public-home--forum-reference .pub-ball-row { gap: 4px; }
    .public-home.public-home--forum-reference .pub-ball-plus { flex-basis: 10px; font-size: 18px; }
    .public-home.public-home--forum-reference .pub-ball .result-ball-number { font-size: 23px !important; }
    .public-home.public-home--forum-reference.ball-text--small .pub-ball .result-ball-number { font-size: 20px !important; }
    .public-home.public-home--forum-reference.ball-text--large .pub-ball .result-ball-number { font-size: 25px !important; }
    .public-home.public-home--forum-reference .pub-ball .result-ball-meta { min-height: 14px; padding: 1px 0; font-size: clamp(9px, 2.6vw, 11px) !important; }
    .public-home.public-home--forum-reference.ball-text--small .pub-ball .result-ball-meta { font-size: clamp(8px, 2.3vw, 10px) !important; }
    .public-home.public-home--forum-reference.ball-text--large .pub-ball .result-ball-meta { font-size: clamp(10px, 2.8vw, 12px) !important; }
    .public-home.public-home--portal-xln39821.ball-style--classic-card .pub-ball:not(.pub-ball-pending) .result-ball-number { max-width: 36px; border-width: 2px; }
    .public-home.public-home--forum-reference:is(.ball-style--flat-round, .ball-style--glossy-round, .ball-style--ring-round, .ball-style--neon-round, .ball-style--gold-medal, .ball-style--capsule, .ball-style--hexagon) .pub-ball-wrap:has(.result-ball-meta, .pub-ball-pending) { padding-bottom: 34px; }
    .public-home.public-home--forum-reference:is(.ball-style--flat-round, .ball-style--glossy-round, .ball-style--ring-round, .ball-style--neon-round, .ball-style--gold-medal, .ball-style--capsule, .ball-style--hexagon) .pub-ball .result-ball-number { font-size: min(23px, 5.5vw) !important; }
    .public-home.public-home--forum-reference:is(.ball-style--flat-round, .ball-style--glossy-round, .ball-style--ring-round, .ball-style--neon-round, .ball-style--gold-medal, .ball-style--capsule, .ball-style--hexagon).ball-text--small .pub-ball .result-ball-number { font-size: min(20px, 5vw) !important; }
    .public-home.public-home--forum-reference:is(.ball-style--flat-round, .ball-style--glossy-round, .ball-style--ring-round, .ball-style--neon-round, .ball-style--gold-medal, .ball-style--capsule, .ball-style--hexagon).ball-text--large .pub-ball .result-ball-number { font-size: min(25px, 6vw) !important; }
    .public-home.public-home--forum-reference:is(.ball-style--flat-round, .ball-style--glossy-round, .ball-style--ring-round, .ball-style--neon-round, .ball-style--gold-medal, .ball-style--capsule, .ball-style--hexagon) .pub-ball-wait-text { font-size: clamp(10px, 3.1vw, 16px); }
    .public-home.public-home--forum-reference .pub-ball-wait-text { font-size: clamp(12px, 3.7vw, 16px); }
    .public-home.public-home--forum-reference .pub-next-row { font-size: 11px; }
    .public-home.public-home--forum-reference :is(.pub-draw-refresh, .pub-draw-simulate) { padding: 4px 5px; font-size: 12px; }
    .forum-domain-note { gap: 2px; padding: 8px 4px; font-size: 14px; }
    .forum-domain-note strong { font-size: 20px; }
    .public-home.public-home--forum-reference .pub-link-grid a { min-height: 33px; font-size: 14px; }
    .public-home.public-home--forum-reference .pub-material-block-head { padding: 4px; font-size: 16px; }
    .public-home.public-home--forum-reference .pub-material-line { padding: 2px 3px; font-size: 16px; }
    .jade-material-row { font-size: clamp(15px,4.65vw,19px); padding: 5px 3px; gap: 0 3px; }
    .jade-material-legend { font-size: 13px; padding: 6px 4px; }
    .public-home--portal-xln39821 .forum-shortcuts a { font-size: clamp(10px,2.7vw,13px); min-height: 29px; }
    .jade-heading-domain { display: none; }
    .public-home.public-home--portal-xln39821 .pub-link-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .public-home.public-home--portal-xln39821 .pub-link-grid a { min-height: 29px; font-size: clamp(11px,3vw,13px); }
}
