:root{font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP",sans-serif;color:#244333;background:#f7f8f2;font-size:16px;line-height:1.65}*{box-sizing:border-box}body{margin:0}header{border-bottom:1px solid #dce5d8;background:#fff;padding:16px max(20px,calc((100vw - 1120px)/2));display:flex;gap:24px;align-items:center;justify-content:space-between}header a{font-weight:850;color:#244333;text-decoration:none;font-size:22px;white-space:nowrap}main{max-width:1120px;margin:auto;padding:36px 24px 64px}.eyebrow{color:#4e805f;font-size:12px;letter-spacing:.18em;font-weight:750}h1{font-size:clamp(28px,4vw,46px);line-height:1.3;letter-spacing:-.03em;margin:12px 0 20px}h2{font-size:22px;line-height:1.45;margin:0 0 18px}h3{font-size:17px;margin:20px 0 8px}p{white-space:pre-line;margin:0 0 16px}small,.muted{color:#687b6b}.card{background:#fff;border:1px solid #dce5d8;border-radius:22px;padding:26px;margin-bottom:20px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}.hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:40px;margin-bottom:30px}.hero img{max-width:100%;max-height:380px;object-fit:contain}.actions,nav{display:flex;gap:10px;flex-wrap:wrap;align-items:center}nav{margin-bottom:24px}button{font:inherit;font-weight:700;color:white;background:#275c42;border:1px solid #275c42;border-radius:12px;cursor:pointer;padding:12px 20px}button:hover{filter:brightness(.94)}button:disabled{opacity:.45;cursor:wait}.secondary{color:#275c42;background:#fff;border-color:#cad9c5}label{display:block;font-weight:650;margin:16px 0 6px}input,textarea,select{display:block;width:100%;font:inherit;color:#244333;background:#fff;border:1px solid #bbcdb7;border-radius:9px;padding:11px;margin-top:7px}input[type=checkbox]{display:inline;width:auto;margin-right:8px}textarea{min-height:100px;resize:vertical}input:focus,textarea:focus,select:focus,button:focus-visible{outline:3px solid #84b795;outline-offset:2px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;background:#f5f8f1;padding:16px;border-radius:10px}#status{margin:0 0 20px;padding:0}#status:not(:empty){padding:14px 18px;border-radius:12px}.error{background:#fff0ed;color:#a42820}.success{background:#e7f2e5;color:#275c42}dialog{max-width:560px;width:calc(100% - 32px);border:0;border-radius:22px;padding:0;box-shadow:0 20px 70px #0003}dialog::backdrop{background:#10251888}.dialog-body{padding:28px}.dialog-body .actions{justify-content:flex-end;margin-top:24px}.badge{display:inline-block;background:#edf4e9;color:#3e774e;border-radius:999px;padding:4px 12px;font-size:13px;font-weight:650}.qr{background:#fff;text-align:center;padding:24px}.qr svg{width:min(100%,360px);height:auto}.notice{border-left:4px solid #78a77f;padding:12px 16px;background:#eff5e9}.row{display:flex;gap:16px}.row>*{flex:1}table{border-collapse:collapse;width:100%}td,th{text-align:left;padding:10px;border-bottom:1px solid #e2eadd}a{color:#275c42}footer{max-width:1120px;margin:auto;padding:24px;color:#687b6b;font-size:13px}@media(max-width:650px){main{padding:26px 16px}.hero{grid-template-columns:1fr;gap:12px}.hero img{max-height:220px;order:2}.row{display:block}.card{padding:20px}header{padding:14px 16px}header a{font-size:18px}}@media print{header,nav,footer,#status,button,.no-print{display:none!important}main{max-width:none;padding:0}.card{border:0}.print-only{display:block}.qr svg{width:110mm}body{background:#fff;color:#000}}
/* Component display declarations must not override native hidden semantics. */
[hidden] { display: none !important; }
.medal-ranking li>div{min-width:0}.medal-ranking strong{overflow-wrap:anywhere;min-width:0}.medal-ranking li>div>span{white-space:nowrap}
.medal-total{font-size:clamp(26px,4vw,42px);font-weight:800;line-height:1.2;margin:12px 0}.medal-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:20px}.medal-filters input[type=search]{flex:2;min-width:200px}.medal-filters select{flex:1;min-width:160px}.medal-toggle{display:flex;align-items:center;gap:6px;margin:0}.medal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px;margin:20px 0}.medal-card{display:flex;flex-direction:column;gap:8px;align-items:center;border:1px solid #dce5d8;background:#fff;color:#244333;border-radius:22px;padding:16px 12px;text-align:center;font-size:14px;overflow-wrap:anywhere}.medal-card strong{font-size:15px;line-height:1.4;min-height:42px}.medal-art{aspect-ratio:1;width:100%;display:grid;place-items:center;border-radius:50%;background:transparent;overflow:hidden}.medal-art img{width:100%;height:100%;object-fit:contain}.medal-art.undiscovered{opacity:.4}.medal-art span{font-size:12px;color:#6a6e63}.medal-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;font-size:10px}.medal-badges span{background:#f2f3ee;border-radius:10px;padding:3px 5px;color:#82907e}.medal-badges .earned{background:#e5f0df;color:#305a33}.medal-detail{max-width:860px}.medal-grades{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;text-align:center;margin:20px 0}.medal-ranking{padding:0;list-style:none}.medal-ranking li{display:flex;gap:16px;align-items:center;padding:20px;background:white;border:1px solid #dce5d8;border-radius:18px;margin-bottom:10px}.medal-ranking img{width:48px;height:48px;border-radius:50%;object-fit:cover}.medal-ranking li>div{display:flex;flex:1;justify-content:space-between;gap:16px}.medal-rank{font-size:20px;font-weight:750;min-width:45px}@media(max-width:480px){.medal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.medal-card{padding:12px 8px}.medal-grades{gap:8px}.medal-grades h3{font-size:12px}.medal-ranking li>div{flex-direction:column;gap:0}.medal-ranking li{padding:14px;gap:10px}}

.social-buttons{display:grid;gap:12px;max-width:420px;margin-bottom:20px}.social-login{min-height:48px;display:flex;align-items:center;justify-content:center;gap:12px}.social-login.google{background:#fff;color:#1f1f1f;border-color:#747775;font-weight:500}.social-login.apple{background:#000;color:#fff;border-color:#000}.social-login img{width:20px;height:20px;object-fit:contain}

.social-login.apple img{width:44px;height:44px;margin-block:-12px;margin-inline:-12px 0}
.shop-image{display:block;width:100%;height:200px;object-fit:cover;border-radius:16px;margin:0 0 16px;background:#f2f6ee}.shop-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.shop-link{display:inline-block;color:#287743;padding:12px 0;text-decoration:underline}.card p{overflow-wrap:anywhere}
.owner-row+.owner-row{border-top:1px solid #e2eadd;margin-top:20px;padding-top:20px}.owner-row p{margin-bottom:10px}
.owner-guide summary{cursor:pointer;font-weight:750;padding:6px 0}.owner-guide[open] summary{margin-bottom:16px}.owner-steps{padding-left:1.5em;margin:12px 0 20px}.owner-steps li{padding-left:4px;margin-bottom:12px}.owner-link-tools{display:flex;align-items:center;gap:12px;margin-bottom:16px}.owner-link-tools input{min-width:0;flex:1;margin:0;font-size:14px}.owner-link-tools button{flex-shrink:0}@media(max-width:650px){.owner-link-tools{flex-direction:column;align-items:stretch}.owner-link-tools input{width:100%}.owner-link-tools button{width:100%}}

/* User portal: shared identity, five familiar destinations. */
.user-portal{background:#f7f8f3;color:#253d31}.user-portal header{position:relative;z-index:5;min-height:84px;padding:18px max(24px,calc((100vw - 1160px)/2));border-bottom:0}.user-portal header>a{font-size:24px;letter-spacing:-.04em}.user-portal main{max-width:1208px;padding:12px 24px 64px}.user-portal h1{font-size:clamp(28px,3.5vw,44px);font-weight:800}.user-portal h2{font-size:23px;letter-spacing:-.025em}.user-portal .card{border-color:#e2e8dd;box-shadow:0 5px 20px #1f442b03}.user-portal p{line-height:1.85}.user-portal #status:empty{display:none}.portal-icon{width:24px;height:24px;flex:none}.portal-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;background:#fff;border:1px solid #e3e9de;border-radius:20px;padding:8px;margin:12px 0 32px}.portal-nav a{display:flex;justify-content:center;align-items:center;gap:9px;min-height:52px;text-decoration:none;font-weight:700;color:#738078;border-radius:13px}.portal-nav a:hover{background:#f4f7ef}.portal-nav a.is-active{color:#286343;background:#e9f3df}.portal-heading{margin:30px 0}.portal-heading .eyebrow{margin-bottom:8px}.portal-heading h1{margin-top:0}.portal-link{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:700;line-height:1.4;padding:16px 0;min-width:0}.portal-link>span{flex:1}.portal-link>.portal-icon:last-child{width:18px}.portal-link:hover{color:#3c9a55}.portal-shortcuts,.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.portal-shortcuts .portal-link,.settings-grid .portal-link{padding:22px;background:#fff;border-radius:18px;border:1px solid #e2e8dd}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-welcome{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:42px 48px;border-radius:30px;background:#eaf0df;overflow:hidden;position:relative}.portal-welcome h1{font-size:clamp(28px,3.4vw,43px);line-height:1.45;word-break:break-word}.portal-welcome p{color:#5b6f5d}.portal-partner{width:240px;height:240px;border-radius:50%;background:#fff9;box-shadow:0 0 0 18px #ffffff45,0 0 0 36px #ffffff25;flex:none;overflow:hidden;display:grid;place-items:center;font-size:70px;color:#588764}.portal-partner img{width:100%;height:100%;object-fit:cover}.portal-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 32px}.portal-stat{display:grid;grid-template-columns:34px 1fr;gap:8px 10px;padding:24px;background:white;border-radius:20px;border:1px solid #e2e8dd;color:inherit;text-decoration:none}.portal-stat>.portal-icon{color:#5e9265}.portal-stat>span{font-size:14px;color:#718071}.portal-stat>div{grid-column:2;white-space:nowrap}.portal-stat strong{font-size:32px;letter-spacing:-.04em;margin-right:8px}.portal-stat small{font-size:13px}.portal-collections{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:30px 0 44px}.collection-entry{position:relative;display:flex;align-items:center;gap:12px;min-height:240px;padding:30px;border-radius:26px;text-decoration:none;color:#253d31;overflow:hidden;transition:transform .15s}.collection-entry:hover{transform:translateY(-3px)}.collection-entry>div:first-child{position:relative;z-index:1;flex:1}.collection-entry p{font-size:13px;max-width:240px}.collection-entry h2{margin:8px 0 12px;font-size:23px}.collection-entry span{display:inline-block;font-size:13px;font-weight:750;padding-top:12px}.collection-entry img{width:42%;max-height:195px;object-fit:contain}.cnp-entry{background:#e8eee9}.medal-entry{background:#f3ecdd}.medal-emblem{display:grid;place-items:center;width:120px;height:120px;border:5px double #b39661;border-radius:50%;background:#e8d6ad;color:#9c7b3f}.medal-emblem .portal-icon{width:60px;height:60px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.section-title h2{margin:0}.section-title .portal-link{font-size:13px}.portal-stamps{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;margin:24px 0}.portal-stamp{display:flex;flex-direction:column;align-items:center;position:relative;text-align:center;background:#fffef9;border:1px solid #e4e3d4;outline:1px dashed #d3dbcb;outline-offset:-10px;border-radius:24px;padding:30px 26px;min-width:0}.portal-stamp h3{font-size:17px;margin:14px 0 8px}.portal-stamp p{font-size:12px;margin:0;color:#798573}.portal-stamp time{font-weight:700;font-size:14px;margin:6px 0 10px}.portal-stamp small{font-size:11px}.stamp-partner{width:90px;height:90px;border-radius:50%;overflow:hidden;background:#edf2df;border:4px solid #fff;box-shadow:0 0 0 1px #d7dfcd;display:grid;place-items:center}.stamp-partner img{width:100%;height:100%;object-fit:cover}.stamp-label{margin-top:12px;border:1px solid #8fab84;color:#6c8f61;border-radius:8px;padding:2px 12px;font-size:10px;letter-spacing:.15em;transform:rotate(-4deg)}.portal-account-menu{position:relative}.portal-account-menu summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:4px;font-size:13px;font-weight:700;max-width:220px}.portal-account-menu summary::-webkit-details-marker{display:none}.portal-account-menu summary>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-avatar{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:50%;overflow:hidden;background:#e9efdf;color:#56805c}.portal-avatar img{width:100%;height:100%;object-fit:cover}.portal-menu-panel{position:absolute;top:58px;right:0;width:280px;background:#fff;border:1px solid #e0e5da;box-shadow:0 16px 48px #1f382026;border-radius:22px;padding:22px;z-index:25}.portal-menu-panel strong{overflow-wrap:anywhere;font-size:13px;color:#7c897e}.portal-menu-panel .portal-link{font-size:14px;border-bottom:1px solid #eff2e9}.portal-menu-panel button{width:100%;margin-top:18px}.portal-header-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#f4f6ef}.user-portal #session{display:flex;align-items:center;gap:20px}.portal-login-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:64px;align-items:center;padding:54px 0 30px}.portal-login-hero{display:flex;flex-direction:column;gap:16px;align-items:start;margin:0}.portal-login-hero h1{font-size:clamp(36px,4.5vw,56px);line-height:1.35}.portal-login-hero p{max-width:490px}.portal-login-hero img{max-height:310px;width:100%;object-position:left center}.portal-login-card{padding:34px!important;max-width:430px;width:100%}.portal-login-card>.social-buttons{max-width:none}.portal-login-card>button{width:100%}.portal-login-card>details{margin-top:26px;font-size:14px}.portal-login-card .social-buttons>p{font-size:12px;margin-bottom:12px}.portal-login-card h2{margin-bottom:28px}.portal-introduction{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;border-top:1px solid #dee5d7;padding:36px 0 16px;margin-top:24px}.portal-introduction section{padding:4px 18px}.portal-introduction .portal-icon{color:#61895b;margin-bottom:16px}.portal-introduction h2{font-size:18px}.portal-introduction p{font-size:13px;color:#788573}.character-filters{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.character-filters button{padding:10px 14px;font-size:13px;border-radius:99px;min-height:42px}.character-filters button[aria-pressed=true]{background:#275c42;color:#fff;border-color:#275c42}.nft-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px;margin-bottom:20px}.nft-tile{padding:12px!important;background:#fff!important;border-color:#e0e6d8!important;border-radius:20px!important;min-width:0;color:#244333!important}.nft-tile strong{display:block;font-size:12px;overflow-wrap:anywhere;margin-top:12px}.nft-tile-image{width:100%;aspect-ratio:1;border-radius:13px;overflow:hidden;background:#f1f4eb;display:grid;place-items:center}.nft-tile-image img{width:100%;height:100%;object-fit:cover}.nft-detail-image{width:100%;max-height:380px;aspect-ratio:1;display:grid;place-items:center;margin-bottom:20px;border-radius:20px;overflow:hidden;background:#eff3e7}.nft-detail-image img{width:100%;height:100%;object-fit:contain}.profile-partner{width:120px;height:120px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#eff3e7;margin-bottom:20px}.profile-partner img{width:100%;height:100%;object-fit:cover}.portal-ranking{list-style:none;padding:0;margin:24px 0 40px}.portal-ranking li{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #e0e7d9;border-radius:18px;padding:18px 22px;margin:10px 0}.rank-number{width:32px;font-size:22px;color:#8d987e}.portal-ranking li:nth-child(-n+3) .rank-number{color:#a18139}.rank-name{flex:1;min-width:0;overflow-wrap:anywhere}.rank-value{white-space:nowrap}.rank-value strong{font-size:23px;margin-right:6px}.encounter-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;margin:20px 0}.encounter-token{display:flex;flex-direction:column;align-items:center;gap:8px;background:white;padding:20px;border-radius:16px;border:1px solid #e3e9db}.encounter-token small{font-size:11px}.user-portal a:focus-visible,.user-portal summary:focus-visible{outline:3px solid #78a77f;outline-offset:4px;border-radius:8px}
@media(max-width:800px){.portal-login-layout{gap:28px;grid-template-columns:1fr 1fr}.portal-welcome{padding:32px}.portal-partner{width:180px;height:180px}.collection-entry{padding:24px;min-height:260px;align-items:flex-start;flex-direction:column}.collection-entry img{position:absolute;right:8px;bottom:12px;opacity:.75;width:38%}.portal-collections .collection-entry p{max-width:190px}.portal-shortcuts{grid-template-columns:1fr 1fr}.portal-stat{padding:18px;grid-template-columns:1fr}.portal-stat>div{grid-column:1}.portal-stat>.portal-icon{display:none}}
@media(max-width:600px){.user-portal header{padding:14px 18px;min-height:70px}.user-portal header>a{font-size:21px}.user-portal main{padding:0 16px 110px}.user-portal #session{gap:10px}.portal-account-menu summary>span{display:none}.portal-menu-panel{width:min(290px,calc(100vw - 32px))}.portal-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;border-radius:20px 20px 0 0;margin:0;padding:8px 8px max(10px,env(safe-area-inset-bottom));border-bottom:0;box-shadow:0 -4px 20px #1f442b08;gap:2px}.portal-nav a{flex-direction:column;gap:3px;font-size:10px;min-height:54px}.portal-nav .portal-icon{width:22px;height:22px}.portal-heading{padding-top:18px;margin:12px 0 24px}.portal-heading h1{font-size:28px}.portal-welcome{margin-top:20px;padding:26px 22px;border-radius:24px;gap:16px;align-items:flex-start}.portal-welcome h1{font-size:23px;margin-top:10px}.portal-welcome .eyebrow{font-size:9px}.portal-welcome p{font-size:12px;margin-bottom:10px}.portal-partner{width:86px;height:86px;box-shadow:0 0 0 8px #ffffff45;font-size:30px;margin-top:24px}.portal-stats{gap:8px;margin:16px 0 24px}.portal-stat{padding:14px 10px;border-radius:16px;gap:4px}.portal-stat>span{font-size:10px}.portal-stat strong{font-size:22px;display:block;line-height:1.2;margin:4px 0}.portal-stat small{font-size:10px}.portal-collections{gap:14px;grid-template-columns:1fr;margin:24px 0 32px}.collection-entry{min-height:180px;padding:26px;display:flex;flex-direction:row;align-items:center}.collection-entry h2{font-size:21px}.collection-entry img{position:relative;width:34%;right:auto;bottom:auto;opacity:1}.collection-entry p{font-size:11px}.collection-entry span{font-size:12px}.portal-stamps{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portal-stamp{padding:24px 16px}.portal-stamp h3{font-size:14px}.stamp-partner{width:66px;height:66px}.portal-stamp p{font-size:11px}.portal-stamp small{font-size:10px}.portal-stamp time{font-size:12px}.portal-shortcuts,.settings-grid{grid-template-columns:1fr;gap:10px}.portal-shortcuts .portal-link,.settings-grid .portal-link{padding:18px;font-size:14px}.section-title h2{font-size:21px}.section-title .portal-link{font-size:11px}.portal-login-layout{grid-template-columns:1fr;gap:24px;padding:24px 0}.portal-login-hero{position:relative;padding-bottom:165px}.portal-login-hero h1{font-size:36px}.portal-login-hero p{font-size:13px;max-width:340px}.portal-login-hero img{position:absolute;bottom:0;height:170px;max-height:170px;object-position:center}.portal-login-card{max-width:none;padding:26px!important;margin:0}.portal-introduction{grid-template-columns:1fr;gap:20px;padding-top:28px}.portal-introduction section{padding:0 10px}.portal-introduction h2{margin:0 0 10px}.portal-introduction .portal-icon{margin-bottom:8px}.portal-ranking li{padding:14px;gap:10px}.rank-value strong{font-size:19px}.rank-name{font-size:13px}.nft-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.user-portal footer{padding:16px 22px 110px}.user-portal:has(.portal-login-layout) main{padding-bottom:24px}}
@media(prefers-reduced-motion:reduce){.collection-entry{transition:none}.collection-entry:hover{transform:none}}
.portal-login-hero h1,.portal-welcome h1{white-space:pre-line}.portal-login-hero h1{font-size:clamp(36px,4vw,50px)}
/* The hint sits outside provider buttons, with its own space on narrow screens. */
.login-choice{display:grid;gap:6px;min-width:0}.login-choice>button{width:100%}.login-last-used-row{display:flex;justify-content:flex-end}.login-last-used{display:inline-block;background:#e7f1df;color:#356246;border:1px solid #ccdfc2;border-radius:999px;padding:2px 9px;font-size:11px;font-weight:700;line-height:1.5;white-space:nowrap;vertical-align:middle}.portal-login-card summary .login-last-used{margin-left:8px}

.app-login-qr-entry{border-top:1px solid #dce5d8;margin-top:26px;padding-top:22px}.app-login-qr-entry h3{font-size:15px;margin:0 0 10px}.app-login-qr-entry p{font-size:13px;color:#687b6b;margin-bottom:10px}.app-login-qr-entry .portal-link{font-size:14px;padding:12px 14px;border:1px solid #cad9c5;border-radius:12px;background:#f4f8ef}.app-login-qr-entry small{display:block;font-size:11px;margin-top:8px}

.portal-header-icon[aria-current="page"]{background:#275c42;color:#fff;box-shadow:0 0 0 3px #dcebd2}.portal-back-link{display:inline-block;font-size:14px;text-decoration:none;font-weight:700;padding:8px 0}.portal-back-link:hover{text-decoration:underline}

/* CNP Friends: collection journal. Scoped to the public portal. */
.user-portal{--delight-ink:#203e33;--delight-green:#267450;--delight-muted:#657762;--delight-line:#dde3d7;background:#f8f7f0;color:var(--delight-ink);-webkit-font-smoothing:antialiased}
.user-portal header{background:transparent}.user-portal .eyebrow{font-size:11px;letter-spacing:.16em;font-weight:750;color:var(--delight-green)}.user-portal .portal-header-icon{border:1px solid var(--delight-line);background:transparent;width:44px;height:44px;flex:none}.user-portal .portal-header-icon[aria-current=page]{background:#275c42;color:#fff}.user-portal #session{gap:8px}.user-portal .portal-account-menu{margin-left:10px}.user-portal .portal-nav{background:transparent;border:0;border-bottom:1px solid var(--delight-line);border-radius:0;display:flex;gap:25px;margin:4px 0 30px;padding:0}.user-portal .portal-nav a{font-size:14px;min-height:60px;padding:12px 10px;position:relative}.user-portal .portal-nav a.is-active{background:transparent;color:var(--delight-green)}.user-portal .portal-nav a.is-active:after{content:'';position:absolute;height:3px;bottom:-1px;left:8px;right:8px;border-radius:3px;background:var(--delight-green)}
.delight-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 22px}.delight-intro p{font-size:14px;font-weight:650;margin:0;overflow-wrap:anywhere}.delight-intro time{font-size:12px;color:var(--delight-muted);flex:none}.delight-hero-grid{display:grid;grid-template-columns:1.8fr 1fr;gap:22px}.delight-hero{position:relative;border-radius:28px;overflow:hidden;min-height:350px;background:#e7eddd;isolation:isolate;padding:38px}.delight-hero:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 5px,#47684203 5px,#47684203 6px);z-index:-1}.delight-hero-copy{position:relative;z-index:2;max-width:74%}.user-portal .delight-hero h1{font-size:43px;line-height:1.5;letter-spacing:-.055em;margin:20px 0}.delight-hero h1 span{display:block;white-space:nowrap}.delight-hero h1 span:last-child{text-decoration:underline;text-decoration-color:#d2e989;text-decoration-thickness:7px;text-underline-offset:5px;text-decoration-skip-ink:none}.delight-hero-copy>p:last-child{font-size:13px;line-height:2;white-space:pre-line;color:#51684c;max-width:230px}.delight-partner{position:absolute;right:14px;bottom:-8px;width:43%;height:245px;background:#f7f8e5;border-radius:48% 48% 0 0;overflow:hidden}.delight-partner img{width:100%;height:100%;object-fit:contain}.delight-partner .delight-no-partner{object-position:bottom}.delight-partner-label{position:absolute;z-index:3;bottom:20px;right:20px;max-width:80%;background:#fffdf2ee;border:1px solid white;border-radius:15px;text-decoration:none;font-weight:700;font-size:12px;padding:14px 18px;transform:rotate(-3deg);box-shadow:0 6px 16px #344b2410}.delight-star{position:absolute;right:45px;top:28px;color:#7f9c50;font-size:30px}.delight-journal{border:1px solid var(--delight-line);border-radius:28px;background:#fffef9;padding:28px;display:flex;flex-direction:column}.user-portal .delight-journal h2{font-size:18px;line-height:1.6;margin:0 0 24px}.delight-count{margin:0!important;line-height:1.2!important}.delight-count strong{font-size:48px;letter-spacing:-.05em}.delight-count span{font-size:13px;color:var(--delight-muted)}.delight-journal progress{appearance:none;border:0;width:100%;height:5px;background:#e9eddf;border-radius:5px;margin:18px 0 10px}.delight-journal progress::-webkit-progress-bar{background:#e9eddf;border-radius:5px}.delight-journal progress::-webkit-progress-value{background:#6b975e;border-radius:5px}.delight-journal progress::-moz-progress-bar{background:#6b975e;border-radius:5px}.delight-journal-caption{font-size:12px;color:var(--delight-muted);margin:0!important}.delight-medal-fan{display:flex;justify-content:center;align-items:center;min-height:110px;margin:12px 0;gap:0}.delight-medal-fan img{width:30%;max-width:110px;object-fit:contain;filter:drop-shadow(0 6px 5px #35412416);transform:rotate(-12deg)}.delight-medal-fan img+img{margin-left:-8px;transform:rotate(10deg) translateY(-6px)}.delight-medal-fan img:last-child{transform:rotate(12deg)}.delight-medal-fan p{font-size:12px;margin:0;color:var(--delight-muted)}.delight-first-medal{font-size:48px;color:#b5c39c;margin-right:14px}.delight-text-link{display:block;padding:12px 0;font-size:13px;font-weight:700;text-decoration:none;min-height:44px}.delight-journal .delight-text-link{margin-top:auto}.user-portal .delight-stats{gap:0;border-bottom:1px solid var(--delight-line);margin:0 0 32px;padding:26px 0}.user-portal .delight-stats .portal-stat{grid-template-columns:40px 1fr;border:0;border-right:1px solid var(--delight-line);border-radius:0;background:transparent;padding:0 24px;gap:4px 12px;align-content:center}.user-portal .delight-stats .portal-stat:first-child{padding-left:10px}.user-portal .delight-stats .portal-stat:last-child{border:0}.user-portal .delight-stats .portal-stat>.portal-icon{display:block;grid-row:span 2;background:#eaf0de;width:40px;height:40px;padding:9px;border-radius:14px;align-self:center}.user-portal .delight-stats .portal-stat>span{font-size:12px}.user-portal .delight-stats .portal-stat>div{grid-column:2}.user-portal .delight-stats .portal-stat strong{font-size:26px}.delight-treasures-title small{font-size:12px;color:var(--delight-muted)}.user-portal .portal-collections{margin-top:18px}.user-portal .collection-entry{border:1px solid var(--delight-line);background:#fffef9}.user-portal .medal-entry{background:#f2efdf}.user-portal .collection-entry p{font-size:13px}.delight-next-events{margin-bottom:34px}.delight-event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.delight-event-ticket{display:flex;gap:20px;align-items:center;border:1px solid var(--delight-line);border-radius:22px;background:#fffef9;padding:22px;text-decoration:none}.delight-event-date{background:#e8efdb;padding:12px 16px;border-radius:12px;text-align:center;flex:none}.delight-event-date small{font-size:12px}.delight-event-date strong{display:block;font-size:30px;line-height:1.3}.delight-event-ticket h3{font-size:16px;margin:0 0 6px}.delight-event-ticket p{font-size:13px;margin:0;color:var(--delight-muted)}.delight-event-ticket>span:last-child{margin-left:auto}.user-portal .card{background:#fffefa;border-radius:24px}.user-portal .medal-card{background:#fffefa;transition:transform .18s,box-shadow .18s}.user-portal .medal-card:hover{transform:translateY(-3px);box-shadow:0 9px 20px #264d2610}.user-portal .character-filters button{min-height:44px}.user-portal .delight-collection>.card{background:#eaf0df}.delight-medal-empty{grid-column:1/-1;padding:38px 24px;border:1px dashed #bdcdae;border-radius:22px;text-align:center}.delight-medal-empty p{font-size:14px;color:var(--delight-muted)}
.user-portal .delight-medal-detail{max-width:900px;width:calc(100% - 40px);max-height:calc(100dvh - 48px);overflow:auto;background:#fffef9;border-radius:28px;box-shadow:0 25px 90px #19362633}.delight-medal-detail[open]{display:grid;grid-template-columns:1.05fr 1fr}.delight-medal-detail::backdrop{background:#233e3366;backdrop-filter:blur(7px)}.delight-dialog-close{position:absolute;right:14px;top:14px;z-index:2;width:44px;height:44px;padding:0;border-radius:50%!important;border-color:#dce3d1!important;background:#fffefaee!important;color:#284838!important;font-size:25px!important;line-height:1}.delight-medal-stage{position:relative;background:radial-gradient(#d4dbc9 1px,transparent 1px),linear-gradient(145deg,#edf1df,#f8f5e9);background-size:16px 16px,100% 100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px 26px;min-height:500px;overflow:hidden}.delight-medal-stage[data-rarity=rare]{background:linear-gradient(140deg,#e8eef4,#f6f2ee)}.delight-medal-stage[data-rarity=ultra_rare]{background:radial-gradient(#ddd2ae66 1px,transparent 1px),linear-gradient(140deg,#efe8f6,#f7f1dd,#eef2dd);background-size:15px 15px,100% 100%}.user-portal .delight-large-medal{width:90%;max-width:350px;overflow:visible;border-radius:0;background:transparent;animation:delight-reveal .45s ease-out}.delight-large-medal img{filter:drop-shadow(0 18px 14px #40351a26);transform:rotate(-6deg)}.delight-grade-label{font-size:12px;font-weight:700;letter-spacing:.15em;margin:28px 0 0;color:#786b45}.delight-medal-details{padding:52px 32px 30px;min-width:0}.delight-medal-details h2{overflow-wrap:anywhere;line-height:1.5;margin:10px 0!important;font-size:25px!important}.delight-medal-details>.muted{font-size:13px;margin-bottom:18px}.delight-owned{display:inline-block;font-size:12px;padding:6px 10px;border:1px solid #d5dfc5;background:#f0f5e7;border-radius:7px;line-height:1.6!important;margin:0 0 20px!important}.delight-rarity-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:22px}.delight-rarity-switch button{display:flex;flex-direction:column;align-items:center;padding:8px 3px;font-size:12px;border-radius:14px;background:#f8f8f0;min-width:0;gap:4px;border:1px solid #dedfce;color:#244333}.delight-rarity-switch .medal-art{width:60px;max-width:100%;height:60px}.delight-rarity-switch button small{font-size:11px;color:#68775b}.delight-rarity-switch button[aria-pressed=true]{background:#f0f5e2;border-color:#779257;box-shadow:inset 0 0 0 1px #779257}.delight-medal-facts{margin:0;border-top:1px solid #e2e7d8;font-size:12px}.delight-medal-facts>div{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #e2e7d8}.delight-medal-facts dt{color:#65775e}.delight-medal-facts dd{margin:0;text-align:right}.delight-modal-done{width:100%;font-size:13px;min-height:48px;margin-top:24px;background:#fffefa!important}.delight-sparkle{position:absolute;right:17%;top:27%;font-size:25px;color:#b19751;animation:delight-twinkle 2.2s ease-in-out 2}.delight-sparkle.second{right:auto;left:18%;top:65%;font-size:18px;animation-delay:.3s}@keyframes delight-reveal{from{opacity:0;transform:translateY(12px) rotate(-5deg)}to{opacity:1;transform:none}}@keyframes delight-twinkle{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}
@media(max-width:900px){.user-portal .delight-journal h2{font-size:16px}.delight-journal-caption{font-size:11px}.delight-hero{padding:30px}.user-portal .delight-hero h1{font-size:34px}.delight-partner{right:-10px;height:210px}.delight-journal{padding:23px}.delight-hero-copy>p:last-child{font-size:12px;max-width:185px}.delight-event-grid{grid-template-columns:1fr}}
@media(max-width:600px){.user-portal header{padding:12px 16px;gap:8px}.user-portal header>a{font-size:19px}.user-portal #session{gap:4px}.user-portal .portal-account-menu{margin-left:0}.user-portal .portal-header-icon{width:40px;height:44px;border:0}.user-portal .portal-account-menu summary{padding:0}.user-portal .portal-avatar{width:35px;height:35px}.user-portal .portal-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;background:#fffefbf5;backdrop-filter:blur(14px);border-top:1px solid var(--delight-line);border-bottom:0;border-radius:18px 18px 0 0;margin:0;padding:5px 8px max(10px,env(safe-area-inset-bottom))}.user-portal .portal-nav a{font-size:10px;min-height:54px;padding:7px 0}.user-portal .portal-nav a.is-active{background:#edf3e3}.user-portal .portal-nav a.is-active:after{display:none}.delight-intro{margin:18px 0 16px;gap:12px;align-items:flex-start}.delight-intro p{font-size:12px}.delight-intro time{font-size:11px}.delight-hero-grid{grid-template-columns:1fr;gap:16px}.delight-hero{padding:26px 23px;min-height:328px;border-radius:24px}.user-portal .delight-hero h1{font-size:34px;line-height:1.5;margin:18px 0}.delight-hero-copy{max-width:90%}.delight-hero-copy .eyebrow{font-size:9px}.delight-hero-copy>p:last-child{font-size:12px;max-width:160px}.delight-partner{height:190px;width:50%;right:2px;bottom:-8px}.delight-partner-label{bottom:14px;right:14px;padding:12px;font-size:10px}.delight-star{top:28px;right:26px;font-size:25px}.delight-journal{display:none}.user-portal .delight-stats{padding:22px 0;margin-bottom:26px}.user-portal .delight-stats .portal-stat{display:block;padding:0 10px}.user-portal .delight-stats .portal-stat:first-child{padding-left:6px}.user-portal .delight-stats .portal-stat>.portal-icon{display:none}.user-portal .delight-stats .portal-stat>span{display:block;font-size:10px;margin-bottom:6px}.user-portal .delight-stats .portal-stat strong{display:inline;font-size:22px;margin:0 4px 0 0}.delight-treasures-title small{display:none}.user-portal .collection-entry{min-height:185px;padding:24px}.user-portal .collection-entry img{position:absolute;width:32%;right:8px;bottom:8px;max-height:145px}.user-portal .collection-entry h2{font-size:20px}.user-portal .collection-entry p{max-width:65%;font-size:12px}.user-portal .collection-entry .eyebrow{max-width:100%;font-size:10px}.user-portal .collection-entry span{font-size:12px}.delight-event-ticket{gap:15px;padding:18px}.delight-event-ticket h3{font-size:14px}.delight-event-ticket p{font-size:12px}.user-portal .delight-medal-detail{width:calc(100% - 28px);max-height:calc(100dvh - 28px);border-radius:24px}.delight-medal-detail[open]{display:block}.delight-medal-stage{min-height:0;padding:20px 24px 16px}.user-portal .delight-large-medal{width:180px}.delight-grade-label{font-size:10px;margin-top:14px}.delight-medal-details{padding:24px}.delight-medal-details h2{font-size:22px!important}.delight-medal-details .eyebrow{font-size:10px;margin-bottom:6px}.delight-medal-details>.muted{margin-bottom:14px}.delight-rarity-switch{margin-bottom:18px}.delight-rarity-switch .medal-art{width:48px;height:48px}.delight-rarity-switch button{font-size:10px}.delight-medal-facts>div{padding:12px 0}.delight-modal-done{margin-top:18px}.delight-owned{font-size:12px;margin-bottom:16px!important}}
@media(max-width:360px){.user-portal header{padding:10px}.user-portal header>a{font-size:17px}.user-portal .portal-header-icon{width:35px}.user-portal #session{gap:2px}.user-portal .delight-hero h1{font-size:30px}.delight-hero{padding:24px 18px}.delight-intro time{font-size:10px}}
@media(prefers-reduced-motion:reduce){.user-portal .medal-card,.delight-large-medal,.delight-sparkle{animation:none!important;transition:none!important}.user-portal .medal-card:hover{transform:none}.delight-large-medal img{transform:none}}

.event-medal-reward{text-align:center;margin-top:24px;padding:28px 20px;border-radius:24px;background:#f8f5eb;border:1px solid #e6dcc4}.event-medal-reward>img{object-fit:contain;max-width:100%;height:auto}.event-medal-reward>p{line-height:1.7}.event-medal-reward>a{display:inline-block;margin-top:12px;font-weight:700}


/* Approved 20 x 20 encounter map */
.cnp-encounter-map{--ink:#171d18;--green:#216948;--line:#dcdfd4;--muted:#69746d;color:var(--ink)}
.token-map-intro{display:flex;align-items:end;justify-content:space-between;gap:30px;margin:25px 0 35px}.token-map-intro h1{font-size:42px;line-height:1.4;letter-spacing:-.05em;margin:18px 0}.token-map-intro p{font-size:13px;color:var(--muted);line-height:1.9}.token-map-count{white-space:nowrap;margin-bottom:18px}.token-map-count b{font-size:66px;letter-spacing:-.06em}.token-map-count span{font-size:17px}.token-map-count small{display:block;text-align:right;font-size:11px;color:var(--muted)}.token-map-tools{display:flex;align-items:start;gap:24px;padding:23px;background:#eeede4;border-radius:8px;margin-bottom:28px}.token-map-tools label{display:block;font-size:12px;font-weight:700;margin-bottom:9px}.token-map-tools select,.token-map-tools input{display:block;font:inherit;font-size:14px;background:white;border:1px solid var(--line);border-radius:5px;padding:13px;min-width:0;width:100%}.token-map-tools>label{min-width:240px}.token-map-tools select{margin-top:9px}.token-map-tools form{flex:1}.token-map-tools form>div{display:flex;gap:8px}.token-map-tools .pill{padding:13px 20px;white-space:nowrap}.token-map-tools #token-zoom{margin-top:24px;white-space:nowrap}.token-map-tools #token-jump-error{display:block;font-size:11px;color:#a32920;margin-top:7px}.token-board-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:20px 0}.token-board-heading h2{font-size:25px;letter-spacing:-.03em;margin:8px 0}.token-board-heading>span{font-size:12px;color:var(--muted)}.token-map-layout{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(230px,1fr);gap:30px;align-items:start}.token-grid-scroll{overflow-x:auto;padding:9px;border:1px solid var(--line);border-radius:8px;background:#fff}.token-grid{display:grid;grid-template-columns:repeat(20,minmax(0,1fr));gap:4px}.token-cell{padding:0;border:0;background:#e5e5de;aspect-ratio:1;border-radius:3px;position:relative;color:#fff;min-width:0;display:grid;place-items:center;font-size:12px}.token-cell.found,.token-legend i.found{background:#216948}.token-cell:hover{box-shadow:inset 0 0 0 2px #8f9987}.token-cell.selected{outline:3px solid #b58a00;outline-offset:0;z-index:1}.token-cell:focus-visible{outline:3px solid #161d17;outline-offset:1px;z-index:2}.token-grid-scroll.zoomed .token-grid{min-width:800px}.token-legend{display:flex;gap:22px;flex-wrap:wrap;margin-top:17px;font-size:12px}.token-legend span{display:flex;align-items:center;gap:7px}.token-legend i{width:15px;height:15px;background:#e5e5de;border-radius:2px}.token-detail{background:#eeede4;padding:25px;border-radius:8px;position:sticky;top:25px}.token-detail h2{font-size:36px;letter-spacing:-.04em;margin:10px 0 20px}.token-status{font-size:12px;color:var(--muted)}.token-status.found{color:var(--green);font-weight:700}.token-art-placeholder{height:140px;background:#f7e66b;border-radius:8px;display:grid;place-items:center;font-size:58px;color:#4d6346;margin:20px 0}.token-detail p{font-size:13px;line-height:1.9}.token-detail small{font-size:10px;color:var(--muted);line-height:1.8;display:block}.token-detail dt{font-size:10px}.token-detail dd{margin:8px 0 25px;font-size:12px}.token-pagination{display:flex;justify-content:space-between;align-items:center;margin:25px 0}.token-pagination>span{font-size:13px}.token-pagination button:disabled{opacity:.35;cursor:default}.token-atlas{border-top:1px solid var(--line);padding:25px 0}.token-atlas summary{cursor:pointer;font-weight:700;font-size:15px}.token-atlas>div{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;margin-top:20px}.token-atlas button{display:flex;justify-content:space-between;align-items:center;gap:6px;border:1px solid var(--line);background:white;padding:13px;border-radius:4px}.token-atlas button span{font-size:10px;color:var(--muted)}
@media(max-width:720px){.token-map-intro{display:block;margin:20px 0}.token-map-intro h1{font-size:31px}.token-map-intro p{font-size:12px}.token-map-count b{font-size:48px}.token-map-count small{text-align:left}.token-map-tools{display:grid;grid-template-columns:1fr;padding:18px;gap:14px}.token-map-tools>label{min-width:0}.token-map-tools select,.token-map-tools input{font-size:16px}.token-map-tools #token-zoom{margin:0;justify-self:start}.token-map-layout{grid-template-columns:1fr;gap:20px}.token-grid{gap:2px}.token-grid-scroll{padding:6px}.token-cell{border-radius:2px;font-size:8px}.token-grid-scroll.zoomed .token-grid{min-width:660px}.token-board-heading h2{font-size:21px}.token-board-heading>span{font-size:11px}.token-legend{gap:15px;font-size:11px}.token-detail{position:static;padding:22px}.token-art-placeholder{height:100px}.token-atlas>div{grid-template-columns:repeat(4,1fr)}.token-pagination .filter{font-size:11px;padding:12px}.token-map-count span{font-size:14px}}

.cnp-encounter-map .chapter{font-size:11px;font-weight:700;letter-spacing:.18em;color:var(--green)}.cnp-encounter-map .study-note{font-size:11px;color:var(--muted);line-height:1.8}.cnp-encounter-map .token-cell{min-height:0;cursor:pointer}.cnp-encounter-map .token-art-placeholder{font-family:system-ui}.cnp-encounter-map .filter,.cnp-encounter-map .pill{border-radius:99px}.cnp-encounter-map .token-cell:not(.found){color:var(--ink)}
