:root{--ink:#182b2c;--green:#143638;--green2:#25494a;--paper:#f6f0df;--paper2:#fffdf7;--gold:#a78b54;--line:#d8ccb0;--muted:#746e61;--red:#a83e36;--shadow:0 18px 55px #0b25251a;font-family:'Noto Serif JP','Yu Mincho','Hiragino Mincho ProN',serif;color:var(--ink);background:#e8e5d9}
[hidden]{display:none!important}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% 0%,#f6f2e9 0,#e8e5d9 70%);font-size:16px}.shell{max-width:760px;margin:auto;padding:0 22px 30px}.masthead{height:62px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d6d0bf;color:var(--green)}.brand{text-decoration:none;font-weight:700;letter-spacing:.12em;color:inherit;font-size:14px}.small-link,.start-links a,footer a{color:var(--muted);font-size:13px;text-decoration:underline;text-underline-offset:4px}.start-screen{text-align:center;min-height:calc(100svh - 108px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px 0 52px}.seal-mark{width:55px;height:55px;border:1px solid var(--gold);color:var(--gold);display:grid;place-items:center;font-size:24px;margin-bottom:28px;outline:1px solid var(--gold);outline-offset:5px}.eyebrow{font-size:11px;letter-spacing:.18em;color:var(--gold);margin:0 0 9px}.start-screen h1{font-weight:500;font-size:clamp(29px,7vw,43px);letter-spacing:.12em;margin:6px 0 12px;color:var(--green)}.tagline{font-size:16px;color:#666050;letter-spacing:.07em;margin:0 0 36px}.primary-button,.secondary-button,.quiet-button,.reset-button{font:inherit;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:12px 19px;border-radius:2px}.primary-button{background:var(--green);color:#fffdf7;border:1px solid var(--green);font-size:16px;letter-spacing:.05em;box-shadow:0 4px 0 #0d2728;transition:transform .12s,box-shadow .12s}.primary-button:active{transform:translateY(3px);box-shadow:0 1px 0 #0d2728}.start-screen .primary-button{min-width:min(100%,285px);min-height:58px}.microcopy{font-size:12px;color:#817b6c;margin:19px 0 0}.start-links{display:flex;gap:22px;margin-top:44px;flex-wrap:wrap;justify-content:center}.result-section{padding:18px 0 24px}.reveal{text-align:center;padding:14px 0 22px;animation:rise .35s ease both}.reveal-university{font-size:23px;font-weight:600;margin:0 0 1px;color:var(--green)}.reveal-faculty{margin:0;font-size:16px}.reveal-dots{color:var(--gold);letter-spacing:.25em;margin:1px 0;font-size:15px}.reveal-department{font-size:21px;font-weight:600;margin:0;animation:fade .5s .3s both}@keyframes rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes fade{from{opacity:0}to{opacity:1}}
.notice{background:var(--paper);padding:11px;box-shadow:var(--shadow);border:1px solid #c6b787;margin:0 auto 22px;max-width:610px}.notice-inner{border:1px solid var(--gold);outline:1px solid #d8c89d;outline-offset:4px;padding:17px 22px 13px;text-align:center;position:relative;background:linear-gradient(130deg,#fff9e9aa,#f5eedc 42%,#fff9e9aa)}.notice-topline{display:flex;justify-content:space-between;font-size:11px;letter-spacing:.08em;color:#7e714d}.notice-kicker{font-size:13px;margin:16px 0 5px;letter-spacing:.09em}.notice h2{font-weight:500;font-size:clamp(24px,6vw,34px);letter-spacing:.16em;margin:2px 0 13px;color:#263839}.notice-rule{width:72%;height:1px;background:var(--gold);margin:0 auto 15px}.notice-university{font-size:clamp(20px,5.4vw,29px);font-weight:600;margin:4px 0 3px}.notice-faculty{font-size:clamp(16px,4.2vw,21px);margin:0;line-height:1.6}.notice-body{font-size:12px;line-height:1.8;color:#625b4d;margin:13px 0 11px}.notice-bottom{display:flex;justify-content:space-between;align-items:center}.fiction-label{font-size:10px;letter-spacing:.04em;color:#766e5e}.seal{display:grid;place-items:center;width:43px;height:43px;border:2px solid var(--red);border-radius:50%;color:var(--red);font-size:13px;line-height:1.05;transform:rotate(-9deg);font-weight:600}.notice-foot{font-size:9px;color:#8b8374;margin:8px 0 0}.info-card,.history-card{background:#fbfaf5;border:1px solid #d8d2c0;padding:19px 20px;margin:18px auto;box-shadow:0 6px 24px #0b25250a}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-heading h2{font-weight:500;font-size:21px;margin:0}.course-badge,.history-count{border:1px solid #a9b4a6;padding:5px 9px;color:var(--green);font-size:12px;white-space:nowrap}.info-card h3{font-weight:500;font-size:19px;margin:16px 0 13px}.facts-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.fact{border-top:1px solid #e5e0d2;padding:10px 0 9px}.fact-label{font-size:11px;color:var(--muted);margin-bottom:3px}.fact-value{font-size:14px;line-height:1.55;overflow-wrap:anywhere}.fact.emphasis .fact-value{font-weight:600;color:var(--green)}.more-details{border-top:1px solid #e5e0d2;padding-top:11px;margin-top:8px}.more-details summary{font-size:13px;color:var(--green);cursor:pointer}.more-details p{font-size:12px;line-height:1.7;color:#625e54}.actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:17px 0 22px}.actions .primary-button{grid-column:1/-1}.secondary-button{border:1px solid var(--green);background:#f9f7ef;color:var(--green)}.quiet-button{border:1px solid #d4cdbb;background:transparent;color:#4d5a56;font-size:13px;min-height:45px;padding:9px 12px}.history-card{padding:19px 20px}.summary{font-size:13px;color:#5c5a4e;margin:12px 0}.timeline{list-style:none;padding:0;margin:0}.timeline li{position:relative;border-left:1px solid #c6b787;padding:0 0 15px 18px;margin-left:6px;font-size:13px}.timeline li:before{content:'';position:absolute;left:-4px;top:5px;width:7px;height:7px;border-radius:50%;background:#a78b54}.timeline li:last-child{padding-bottom:3px;border-left-color:transparent}.timeline b{font-weight:600;color:var(--green)}.timeline small{display:block;color:#777264;font-size:11px;margin-top:3px}.timeline .current{color:var(--red);font-size:11px;margin-left:6px}.history-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}.history-actions .secondary-button{grid-column:1/-1}.reset-button{border:0;color:#777264;text-decoration:underline;text-underline-offset:4px;background:none;font-size:12px;min-height:42px;margin:4px auto 0;display:flex}.privacy-note{font-size:11px;color:#777264;line-height:1.7;text-align:center;margin:17px 8px 25px}footer{display:flex;justify-content:space-between;border-top:1px solid #d6d0bf;padding:18px 0;font-size:12px;color:#7b7669}.toast{position:fixed;bottom:18px;left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:#173739;color:#fff;padding:11px 17px;border-radius:2px;font-size:13px;transition:.2s;z-index:10}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:480px){.shell{padding:0 15px 22px}.masthead{height:55px}.start-screen{min-height:calc(100svh - 98px)}.notice-inner{padding:14px 14px 11px}.notice-kicker{margin-top:11px}.notice-body{margin:9px 0}.info-card,.history-card{padding:16px 14px}.facts-grid{gap:0 12px}.fact-value{font-size:13px}.actions{gap:8px}.actions .primary-button,.actions .secondary-button{min-height:49px}.history-actions .quiet-button{font-size:12px;padding:8px 7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.result-view .masthead{display:none}.result-section{padding:6px 0 18px}.draw-status{height:30px;text-align:center;margin:4px 0 7px;color:var(--gold);letter-spacing:.12em;font-size:14px}.notice{margin-bottom:10px;max-width:660px}.notice-inner{padding-top:14px;padding-bottom:10px}.notice-university,.notice-faculty,.notice-department{overflow-wrap:anywhere}.notice-faculty{font-size:clamp(15px,4.1vw,21px)}.notice-department{font-size:clamp(18px,4.8vw,24px);line-height:1.4;margin:2px 0 0;font-weight:600;color:var(--green)}.notice-ready .notice-university,.notice-ready .notice-faculty,.notice-ready .notice-department{animation:revealText .28s ease both}@keyframes revealText{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.result-actions{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:7px;max-width:660px;margin:0 auto 12px}.result-actions .primary-button,.result-actions .secondary-button,.result-actions .quiet-button{min-height:46px;padding:8px 9px;font-size:13px}.result-actions .primary-button{grid-column:auto;font-size:13px}.result-actions #retryBtn{grid-column:1/-1;background:var(--green);color:#fffdf7}.result-actions a{display:flex;align-items:center;justify-content:center;border:1px solid #d4cdbb;text-decoration:none;text-align:center}.actions{margin-top:10px}.actions #shareBtn,.actions #retryBtn,.actions #saveNoticeBtn,.actions #wikiBtn{display:none}
.continue-button{margin:10px auto 0;min-width:min(100%,285px);min-height:49px}
.result-section{padding:0 0 28px}.notice-screen{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:calc(env(safe-area-inset-top) + 10px) 0 calc(env(safe-area-inset-bottom) + 14px)}.notice-brand{margin:0 0 13px;text-align:center;color:var(--gold);font-size:11px;letter-spacing:.2em}.notice-screen .draw-status{margin:0 0 8px}.notice-screen .notice{width:100%;margin:0 auto;max-width:660px;padding:13px;box-shadow:0 20px 65px #0b252520}.notice-screen .notice-inner{padding:clamp(22px,5vh,48px) clamp(18px,5vw,42px);min-height:clamp(350px,62svh,590px);display:flex;flex-direction:column;justify-content:center}.notice-screen .notice-kicker{margin:clamp(14px,3vh,28px) 0 8px}.notice-screen .notice h2{margin:5px 0 clamp(18px,4vh,38px)}.notice-screen .notice-rule{margin-bottom:clamp(18px,4vh,38px)}.notice-screen .notice-university{font-size:clamp(22px,6vw,34px);line-height:1.5}.notice-screen .notice-faculty{font-size:clamp(17px,4.7vw,24px);line-height:1.5}.notice-screen .notice-department{font-size:clamp(19px,5vw,27px);line-height:1.5;margin-top:3px}.notice-screen .notice-body{font-size:clamp(12px,3vw,15px);line-height:1.9;margin:clamp(18px,4vh,36px) 0}.notice-screen .fiction-label{font-size:11px}.notice-screen .seal{width:52px;height:52px;font-size:15px}.scroll-cue{margin:18px auto 0;display:flex;flex-direction:column;align-items:center;gap:3px;color:#736b56;text-decoration:none;font-size:12px;letter-spacing:.06em;animation:cueBob 1.7s ease-in-out infinite}.scroll-cue b{font-size:21px;color:var(--gold);font-weight:400}@keyframes cueBob{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}.details-section{max-width:760px;margin:0 auto;padding:18px 0 110px;scroll-margin-top:12px}.future-card{background:#f3eedf;border:1px solid #cbbd99;padding:20px;margin:14px auto 18px;box-shadow:0 8px 28px #0b25250c}.future-card h2{font-size:21px;font-weight:500;margin:0 0 14px}.qualification-highlight{background:#fffdf7;border-left:3px solid var(--red);padding:14px 15px;margin:12px 0}.qualification-highlight .qual-label{font-size:11px;color:var(--muted);margin-bottom:5px}.qualification-highlight .qual-value{font-size:20px;color:var(--green);line-height:1.55;font-weight:600;overflow-wrap:anywhere}.qualification-highlight .qual-condition{font-size:12px;color:#6d685a;line-height:1.6;margin-top:5px}.future-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.future-fact{border-top:1px solid #d8ccb0;padding:8px 4px}.future-fact span{display:block;color:var(--muted);font-size:10px}.future-fact b{display:block;color:var(--green);font-size:17px;font-weight:500;margin-top:4px}.details-section .info-card,.details-section .history-card{margin-left:auto;margin-right:auto}.details-section .result-actions{margin:18px 0 22px}.details-section .result-actions .primary-button{grid-column:1/-1}.action-dock{position:fixed;z-index:8;left:50%;bottom:calc(env(safe-area-inset-bottom) + 10px);transform:translate(-50%,12px);width:min(660px,calc(100% - 24px));display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px;padding:7px;background:#f7f2e6ed;border:1px solid #c6b787;box-shadow:0 6px 30px #0b252533;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;backdrop-filter:blur(8px)}.action-dock button{min-height:44px;background:#fffdf7;border:1px solid #d6cbaa;color:var(--green);font:inherit;font-size:13px}.action-dock button:last-child{background:var(--green);color:#fffdf7}.result-view.dock-visible .action-dock{opacity:1;pointer-events:auto;transform:translate(-50%,0)}.result-view.dock-visible .details-section{padding-bottom:120px}
@media(max-width:480px){.notice-screen{padding-left:0;padding-right:0}.notice-screen .notice{padding:8px}.notice-screen .notice-inner{padding:clamp(18px,4vh,30px) 14px;min-height:clamp(335px,58svh,520px)}.notice-screen .notice-kicker{margin-top:12px}.notice-screen .notice h2{font-size:clamp(23px,6.2vw,28px);margin-bottom:20px}.notice-screen .notice-rule{margin-bottom:16px}.notice-screen .notice-body{margin:18px 0}.notice-screen .notice-foot{font-size:9px}.scroll-cue{margin-top:15px;font-size:11px}.details-section{padding:12px 0 110px}.future-card{padding:17px 15px}.future-facts{gap:3px}.future-fact b{font-size:16px}.action-dock{width:calc(100% - 18px);gap:5px;padding:5px}.action-dock button{font-size:12px;min-height:43px}}
@media(max-height:700px){.notice-screen{justify-content:flex-start;padding-top:14px}.notice-screen .notice-inner{min-height:0;padding-top:15px;padding-bottom:15px}.notice-screen .notice-kicker{margin:8px 0 4px}.notice-screen .notice h2{margin:1px 0 10px}.notice-screen .notice-rule{margin-bottom:10px}.notice-screen .notice-body{margin:8px 0}.scroll-cue{margin-top:8px}}
@media(prefers-reduced-motion:reduce){.scroll-cue{animation:none}}
@media(max-width:480px){.shell{padding-left:12px;padding-right:12px}.result-section{padding-top:3px}.notice{padding:8px;margin-bottom:8px}.notice-inner{padding:11px 10px 9px}.notice-kicker{margin:7px 0 3px}.notice h2{font-size:25px;margin:1px 0 8px}.notice-rule{margin-bottom:8px}.notice-university{font-size:clamp(19px,5.2vw,25px)}.notice-faculty{line-height:1.35}.notice-body{font-size:11px;line-height:1.5;margin:6px 0}.notice-bottom{min-height:36px}.seal{width:34px;height:34px;font-size:11px}.notice-foot{margin-top:4px;font-size:8px}.result-actions{gap:6px;margin-bottom:9px}.result-actions .primary-button,.result-actions .secondary-button,.result-actions .quiet-button{min-height:44px;padding:7px 5px;font-size:12px}.result-actions #retryBtn{min-height:46px}.info-card,.history-card{margin:12px auto}.draw-status{height:25px;margin:0 0 5px}}
/* The action controls now live after the destination details, not on the first notice screen. */
.details-section .actions #shareBtn,.details-section .actions #retryBtn,.details-section .actions #saveNoticeBtn,.details-section .actions #wikiBtn{display:inline-flex}
.details-section .actions #shareBtn{grid-column:1/-1}
.notice-specialization{font-size:clamp(14px,4vw,20px);line-height:1.6;margin:3px 0 0;color:#5f5a4e;overflow-wrap:anywhere}.notice-specialization:empty{display:none}
.image-preview{width:min(720px,calc(100% - 24px));max-width:720px;max-height:92svh;overflow:auto;background:var(--paper2);color:var(--ink);border:1px solid var(--gold);padding:16px;box-shadow:0 18px 70px #0b252540}.image-preview::backdrop{background:#102d3175;backdrop-filter:blur(2px)}.image-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.image-preview-head h2{font-size:20px;font-weight:500;margin:0}.image-preview p{font-size:13px;line-height:1.65;color:var(--muted);margin:8px 0 12px}.image-preview img{display:block;width:100%;max-height:62svh;object-fit:contain;background:var(--paper);border:1px solid var(--line);-webkit-touch-callout:default;user-select:auto}.image-preview #shareImageBtn{width:100%;margin-top:12px}
/* Survey data panels */
html{scroll-behavior:smooth;overflow-x:hidden}body{overflow-x:hidden}.fact-value,.fact-value a{overflow-wrap:anywhere;word-break:normal}.tuition-number{font-size:clamp(26px,7vw,38px);color:var(--green);font-weight:600;letter-spacing:.03em;margin:12px 0 4px}.subtle{font-size:12px;line-height:1.7;color:var(--muted)}.admission-details{margin:12px 0;display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.admission-detail{padding:9px 0;border-top:1px solid #e5e0d2;min-width:0}.admission-detail dt{font-size:12px;color:var(--muted);margin-bottom:4px}.admission-detail dd{font-size:14px;line-height:1.7;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.method-label{display:block;margin:16px 0 6px;font-size:13px;color:var(--muted)}.method-select{display:block;width:100%;min-width:0;padding:12px 37px 12px 12px;border:1px solid #c8b98f;border-radius:2px;background:#fffdf7;color:var(--ink);font:inherit;font-size:14px;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#746e61 50%),linear-gradient(135deg,#746e61 50%,transparent 50%);background-position:calc(100% - 16px) 50%,calc(100% - 11px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}.admission-chips{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}.admission-chips span{border:1px solid #d7ccb2;padding:6px 9px;font-size:12px;color:var(--green);background:#fffdf7;max-width:100%;overflow-wrap:anywhere}.admission-highlight{border-left:3px solid var(--gold);padding:11px 13px;margin:10px 0 12px;background:#f5f1e7}.admission-highlight b{font-size:14px;color:var(--green)}.admission-highlight p{font-size:13px;line-height:1.7;margin:7px 0 0;overflow-wrap:anywhere}.more-details .pathway-note{padding:10px 12px;background:#f7f2e7;border-left:2px solid var(--red);font-size:13px;line-height:1.7}.feature-list{display:grid;gap:10px;margin-top:12px}.feature-item{background:#fffdf7;border:1px solid #e2d9c5;border-left:3px solid var(--gold);padding:12px 14px;min-width:0}.feature-item h3{margin:0 0 5px;font-size:16px;color:var(--green)}.feature-item p{font-size:13px;line-height:1.75;margin:5px 0;overflow-wrap:anywhere}.feature-item small{font-size:11px;line-height:1.6;color:var(--muted)}.campus-environment{font-size:14px;line-height:1.8;color:#4f4c43;margin:12px 0}.sources-card ul{padding-left:20px;margin:12px 0}.sources-card li{margin:8px 0;font-size:14px}.method-feature-list{margin-top:12px}.tuition-number{overflow-wrap:anywhere}
@media(max-width:480px){.admission-details{grid-template-columns:1fr;gap:0}.admission-detail{padding:8px 0}.admission-detail dd{font-size:13px}.admission-highlight p{font-size:12px}.feature-item{padding:11px 12px}}
.tuition-region-notice{font-size:12px;line-height:1.7;margin:8px 0;padding:8px 10px;background:#f5f1e7;border-left:3px solid var(--gold);overflow-wrap:anywhere}.tuition-region-notice b{color:var(--green);white-space:nowrap}
.qualification-feature-list{margin-top:9px;border-top:1px solid #e5e0d2}.qualification-feature{font-size:12px;line-height:1.65;padding:7px 0;border-bottom:1px solid #e5e0d2}.qualification-feature p{margin:0 0 3px}.qualification-feature a{font-size:11px}
.image-choice{width:min(940px,calc(100% - 24px));max-width:940px;max-height:94svh;overflow:auto;background:var(--paper2);color:var(--ink);border:1px solid var(--gold);padding:18px;box-shadow:0 18px 70px #0b252540}.image-choice::backdrop{background:#102d3175;backdrop-filter:blur(2px)}.image-choice>p{font-size:13px;line-height:1.65;color:var(--muted);margin:8px 0 14px}.image-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.image-choice-option{min-width:0;border:1px solid var(--line);background:#fffdf7;padding:12px;display:flex;flex-direction:column}.image-choice-option h3{font-size:16px;color:var(--green);font-weight:500;margin:0 0 2px}.image-choice-option p{font-size:12px;color:var(--muted);margin:0 0 9px}.image-choice-option img{width:100%;height:min(50svh,440px);object-fit:contain;background:#f4efdf;border:1px solid #e5e0d2}.image-choice-option button{width:100%;margin-top:10px;min-height:46px}.image-choice .image-preview-head h2{font-size:19px}.image-preview[open],.image-choice[open]{margin:auto}
@media(max-width:600px){.image-choice{padding:14px;width:calc(100% - 16px);max-height:96svh}.image-choice-grid{grid-template-columns:1fr;gap:11px}.image-choice-option{padding:10px}.image-choice-option img{height:38svh;max-height:390px}.image-choice-option button{margin-top:8px}}

/* Netlify ad slot: remains absent from layout until provider code is deliberately enabled. */
.ad-slot[hidden]{display:none!important}
