.pp-network{background:var(--paper,#f3f1ec);color:var(--ink,#15140f);border-top:1px solid var(--line-2,rgba(21,20,15,.18));padding:18px 24px;margin-top:24px;font:13px/1.6 var(--pp-font,system-ui);display:flex;flex-wrap:wrap;justify-content:center;gap:20px;position:relative;z-index:1}
.pp-network a{color:inherit;text-decoration:none}.pp-network a:hover{text-decoration:underline}.platform .pp-network{display:none}
.pp-guide-note{font:12px/1.7 var(--pp-font,system-ui);margin:14px 0 20px;color:var(--ink-2,inherit)}.pp-guide-note a{text-decoration:underline;text-underline-offset:3px}
.pp-foot__family a[href^="https://geng.pocketplay.win"]{display:none}
.pp-shared-account{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:44px;min-height:44px;padding:0!important;border:0!important;border-radius:50%;color:var(--ink-2,#67635c)!important;background:transparent!important;text-decoration:none!important;line-height:1}
.pp-shared-account .pp-avatar{display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex:none;overflow:hidden;border-radius:50%;background:var(--bg-2,var(--paper,#f1eee8));border:1px solid var(--line-2,#c5c0b5);color:inherit}
.pp-shared-account .pp-avatar img{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}
.pp-shared-account .pp-avatar svg{width:21px;height:21px;flex:none}
.pp-shared-account:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.pp-account-header .brand{min-width:0}
.pp-town-account-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pp-town-account-title :is(h1,h2){flex:1;min-width:0}
.pp-account-header.header .nav-wrap>.brand{flex:1 1 auto;min-width:0}
.pp-account-header.header .nav-wrap>.brand>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pp-account-header.header .header-actions{flex-shrink:0}

/* The reading room keeps its own palette; navigation belongs in the header. */
body[data-scene="home"] .pp-network,body[data-scene="seance"] .pp-network,body[data-pp-identity="arcana"] .pp-network{background:#0a090c;color:var(--muted,#b3aaa2);border-color:var(--line-soft,rgba(220,197,158,.13));margin-top:0;font:11px/1.6 var(--ui,system-ui);gap:18px;padding:12px 20px}
body[data-pp-identity="arcana"] .pp-arcana-nav{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;position:static;width:auto;margin:0 0 0 auto;padding:0;border:0;background:transparent}
body[data-pp-identity="arcana"] .pp-arcana-links{display:flex;align-items:center;gap:10px}
body[data-pp-identity="arcana"] .pp-arcana-nav .language-menu{margin:0;border:0}
body[data-pp-identity="arcana"] .pp-arcana-nav .language-menu .langs{position:absolute;right:0;top:100%;flex-direction:column;flex-wrap:nowrap;min-width:145px;border:1px solid var(--line);padding:8px;background:#161318}
body[data-pp-identity="arcana"] .pp-arcana-links a{display:inline-flex;align-items:center;min-height:44px;padding:6px 8px;border-radius:0;color:var(--muted);font:12px/1.4 var(--ui);text-transform:none;letter-spacing:0;text-decoration:none;white-space:nowrap}
body[data-pp-identity="arcana"] .pp-arcana-links a:hover,body[data-pp-identity="arcana"] .pp-arcana-links a[aria-current]{color:var(--gold-soft);background:transparent}
body[data-pp-identity="arcana"] .pp-arcana-account{display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;padding:0!important;border-radius:50%;color:var(--muted);flex:none}
body[data-pp-identity="arcana"] .pp-avatar{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;overflow:hidden;background:#221e25;border:1px solid var(--line)}
body[data-pp-identity="arcana"] .pp-avatar img{width:100%;height:100%;object-fit:cover}
body[data-pp-identity="arcana"] .pp-avatar svg{width:21px;height:21px}
body[data-pp-identity="arcana"] .pp-arcana-more{position:relative;flex:none}
body[data-pp-identity="arcana"] .pp-arcana-more>summary{display:flex;align-items:center;justify-content:center;width:36px;height:44px;padding:0;list-style:none;cursor:pointer;color:var(--muted)}
body[data-pp-identity="arcana"] .pp-arcana-more>summary::-webkit-details-marker{display:none}
body[data-pp-identity="arcana"] .pp-arcana-more>summary svg{width:22px;height:22px;fill:currentColor}
body[data-pp-identity="arcana"] .pp-arcana-panel{position:absolute;top:calc(100% + 8px);right:0;width:260px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 100px);overflow-y:auto;padding:12px;border:1px solid var(--line);background:#171319;box-shadow:0 12px 36px #0007;color:var(--muted);font:12px/1.7 var(--ui);z-index:60}
body[data-pp-identity="arcana"] .pp-arcana-panel nav{position:static;display:grid;gap:0;width:auto;border:0;padding:0;margin:0;background:transparent}
body[data-pp-identity="arcana"] .pp-arcana-panel a{display:block;min-height:44px;padding:12px;color:var(--muted);font:12px/1.6 var(--ui);letter-spacing:0;text-transform:none;text-decoration:none}
body[data-pp-identity="arcana"] .pp-arcana-panel a:hover{color:var(--gold-soft);background:#ffffff06}
body[data-pp-identity="arcana"] .pp-arcana-ai{border-bottom:1px solid var(--line);padding-bottom:6px;margin-bottom:6px}
body[data-pp-identity="arcana"] .pp-arcana-ai summary{min-height:44px;padding:12px;cursor:pointer}
body[data-pp-identity="arcana"] .pp-arcana-ai .oracle-disclosure-copy{position:static;width:auto;border:0;padding:0 12px;background:transparent;box-shadow:none;font:13px/1.8 var(--body)}
body[data-pp-identity="arcana"] .pp-arcana-tip{position:fixed!important;bottom:calc(20px + env(safe-area-inset-bottom,0px))!important;right:20px!important;width:46px;height:46px;min-height:46px;padding:10px!important;border:1px solid var(--gold-dim)!important;border-radius:50%!important;background:#171319!important;box-shadow:0 5px 18px #0004!important;color:var(--gold-soft)!important;z-index:35}
body[data-pp-identity="arcana"] .pp-arcana-tip svg{width:24px;height:24px;flex:none}
body[data-pp-identity="arcana"] :is(.pp-arcana-links a,.pp-arcana-account,.pp-arcana-more>summary):focus-visible{outline:1px solid var(--gold-soft);outline-offset:3px}
body[data-pp-identity="arcana"][data-scene="home"] .sanctuary{min-height:calc(100svh - 64px)}
body[data-pp-identity="arcana"] dialog.pp-tip{background:#151217;color:var(--text);border-color:var(--gold-dim);border-radius:3px}
body[data-pp-identity="arcana"] .pp-tip-head{border-color:var(--line)}
body[data-pp-identity="arcana"] .pp-tip-head h2,body[data-pp-identity="arcana"] .pp-tip-card h3{color:var(--gold-soft);font-family:var(--body);font-weight:400}
body[data-pp-identity="arcana"] .pp-tip p,body[data-pp-identity="arcana"] .pp-tip-card figcaption{color:var(--muted)}
body[data-pp-identity="arcana"] .pp-tip a{color:var(--gold-soft)}
body[data-pp-identity="arcana"] .pp-tip-card{background:#1c191d;border-color:var(--line);border-radius:2px}
body[data-pp-identity="arcana"] .pp-tip button{background:#211b17;border-color:var(--gold-dim);color:var(--gold-soft);border-radius:2px}

/* Give a short question a bounded writing surface and keep its action nearby. */
body[data-scene="seance"] [data-screen="question"]{gap:18px;padding:12px 0 24px;scroll-padding-bottom:24px}
body[data-scene="seance"] [data-screen="question"] .seance-heading h2{font-size:clamp(28px,3.2vw,46px);line-height:1.25}
body[data-scene="seance"] .question-space{width:min(100%,560px);flex:1 1 auto;min-height:180px;margin:0 auto;gap:20px;padding-block:12px}
body[data-scene="seance"] .whisper-seal{width:42px;min-height:42px;flex-shrink:0;margin:0 auto 2px}
body[data-scene="seance"] .question-field label{font-size:16px;line-height:1.6;margin-bottom:10px}
body[data-scene="seance"] .question-field textarea{display:block;width:100%;height:112px;min-height:112px;max-height:112px;padding:16px 18px 28px;border:1px solid var(--gold-dim);border-radius:2px;background:#151217;color:var(--text);font:18px/1.6 var(--body);box-shadow:none;resize:none}
body[data-scene="seance"] .question-field textarea::placeholder{color:var(--muted);opacity:.8}
body[data-scene="seance"] .question-field textarea:focus{outline:1px solid var(--gold-soft);outline-offset:2px;border-color:var(--gold-soft);box-shadow:none}
body[data-scene="seance"] .question-field .charcount{right:14px;bottom:9px;font:10px/1 var(--ui);color:var(--muted)}
body[data-scene="seance"] [data-screen="question"] .seance-bottom{padding-bottom:4px;gap:12px}
body[data-scene="seance"] .question-actions .ritual-button{min-height:46px;max-width:100%;padding:12px 26px;letter-spacing:.08em}
@media(max-width:600px){
 body[data-pp-identity="arcana"] .site-header .wrap{flex-wrap:nowrap;padding-inline:16px;gap:8px;min-height:60px}
 body[data-pp-identity="arcana"] .site-header .brand>span{display:none}
 body[data-pp-identity="arcana"] .pp-arcana-nav{gap:6px}
 body[data-pp-identity="arcana"] .pp-arcana-nav>a:not(.pp-arcana-account):not([lang]){display:none}
 body[data-pp-identity="arcana"] .pp-arcana-links{gap:2px}
 body[data-pp-identity="arcana"] .pp-arcana-links a{font-size:12px;padding-inline:6px}
 body[data-pp-identity="arcana"] .pp-arcana-nav{gap:4px}
 body[data-pp-identity="arcana"] .pp-arcana-links a{padding-inline:4px}
 body[data-pp-identity="arcana"] .language-menu>summary{font-size:0;min-width:32px;text-align:center;padding-inline:3px}
 body[data-pp-identity="arcana"] .language-menu>summary::after{content:attr(data-short-label);font:12px var(--ui)}
 body[data-pp-identity="arcana"] .pp-arcana-account{width:36px}
 body[data-pp-identity="arcana"] .pp-arcana-more>summary{width:32px}
 body[data-pp-identity="arcana"] .pp-arcana-tip{width:42px;height:42px;min-height:42px;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;right:12px!important}
 body[data-pp-identity="arcana"][data-scene="seance"] .seance-footnote{max-width:calc(100% - 88px);margin-inline:auto}
 body[data-pp-identity="arcana"][data-scene="home"] .sanctuary{min-height:calc(100svh - 60px)}
 body[data-scene="seance"] [data-screen="question"]{gap:12px;padding-top:8px;padding-bottom:18px}
 body[data-scene="seance"] .question-space{min-height:166px;padding-block:8px;gap:12px}
 body[data-scene="seance"] .whisper-seal{width:32px;min-height:32px}
 body[data-scene="seance"] [data-screen="question"] .seance-heading>p:last-child{margin-top:10px}
 body[data-scene="seance"] .question-field textarea{font-size:17px;height:104px;min-height:104px;max-height:104px}
}
@media(max-width:360px){
 body[data-pp-identity="arcana"] .site-header .wrap{padding-inline:12px;gap:6px}
 body[data-pp-identity="arcana"] .site-header .brand svg{width:24px;height:24px}
 body[data-pp-identity="arcana"] .pp-arcana-links a{font-size:11px;padding-inline:3px}
 body[data-pp-identity="arcana"] .pp-arcana-more>summary{width:28px}
 body[data-pp-identity="arcana"] .card-fan img{width:96px;left:calc(50% - 48px)}
}
