/* Currency is a view of the existing ledger; the diorama is decorative. */
.ph-dialog.ce-is-open .ph-scroll{background:#0e2425}
.ph-dialog.ce-is-open .ph-return-shop{margin:0 0 22px;flex-wrap:wrap;background:linear-gradient(110deg,#213d31,#142d2b);border-color:#8b9d75;color:#f4e8c8}
.ph-dialog.ce-is-open .ph-return-shop>div{flex:1 1 15rem}
.ph-dialog.ce-is-open .ph-return-shop strong{color:inherit;line-height:1.5}
.ph-dialog.ce-is-open .ph-return-shop p{color:#c6d7c8;line-height:1.7;overflow-wrap:anywhere}
.ph-dialog.ce-is-open .ph-return-shop>.ph-button{max-width:100%;min-height:48px;color:#f4e8c8;background:#294b3d;border-color:#8b9d75;white-space:normal}
.ph-dialog.ce-is-open .ph-return-shop>.ph-button:hover:not(:disabled){color:#fff0cb;background:#355d48;border-color:#d5c493}
.ph-dialog.ce-is-open .ph-return-shop>.ph-button:focus-visible{outline:3px solid #f5dba5;outline-offset:4px}
.ph-dialog .ce-treasury :is(h3,h4){color:#efe4ca}
.ph-dialog .ce-treasury .ph-button:not(.ph-primary){color:#e7dcc0;background:#213f35;border-color:#71826960}
.ph-dialog .ph-preview-copy .ce-save-goal{color:#36543d;background:#e5e6cf;border-color:#64745380}
.ph-dialog .ph-preview-copy .ce-save-goal[aria-pressed="true"]{color:#e4edd5;background:#304b39;border-color:#304b39}
.ph-dialog .ce-lodge-entry .ph-button{color:#ecddb7;background:#314c3e;border-color:#8a986470}
.ph-dialog .ph-wallet[data-ph-action]{font:inherit;cursor:pointer;border:1px solid #8673485c;border-radius:100px;padding:9px 13px;background:#142a28;color:#efd394;min-height:44px;white-space:nowrap;transition:border-color .18s,background .18s}
.ph-dialog .ph-wallet[data-ph-action]:hover{border-color:#e5c07b;background:#21382c}
.ph-dialog .ph-wallet[data-ph-action]:focus-visible{outline:2px solid #f5dba5;outline-offset:3px}
.ph-dialog .ph-wallet[data-ph-action]:disabled{cursor:default;opacity:.5}
.ph-dialog .ce-treasury{--ce-gold:#edd095;--ce-ink:#0b1c21;--ce-teal:#9bddc7;--ce-line:#52685755;display:grid;gap:22px;color:#f2ebdb}
.ph-dialog .ce-treasury h3,.ph-dialog .ce-treasury h4{margin:0;font-family:inherit;font-weight:600;text-wrap:balance;line-height:1.3}
.ph-dialog .ce-treasury p{margin:8px 0 16px;color:#bec9bd;font-size:13px;line-height:1.75}
.ph-dialog .ce-treasury small{color:#b7c5b8;font-size:11px;line-height:1.7}
.ph-dialog .ce-treasury .ph-eyebrow{color:#d1b983;font-size:10px;letter-spacing:2px}
.ph-dialog .ce-treasury .ph-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:15px}
.ph-dialog .ce-treasury .ph-button{min-height:44px;line-height:1.5;white-space:normal}
.ph-dialog .ce-treasury .ph-primary{background:#ecd19a;color:#1a2421;border-color:#ecd19a;font-weight:750;box-shadow:0 3px 12px #030a0850}
.ph-dialog .ce-treasury .ph-primary:hover:not(:disabled){background:#f5ddb0}
.ph-dialog .ce-treasury .ph-primary:disabled{opacity:.48}
.ph-dialog .ce-treasury :is(button,a,summary):focus-visible{outline:2px solid #f5dba5;outline-offset:4px}
.ph-dialog .ce-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1.13fr .87fr;min-height:328px;padding:28px 30px;border:1px solid #76826855;border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at 76% 42%,#506c3e35,transparent 42%),linear-gradient(120deg,#10292beb,#182c25da),url('assets/night-keyart.webp') center 56%/cover}
.ph-dialog .ce-hero::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 42%,#d9b46c05 65%,transparent 73%);box-shadow:inset 0 0 70px #03100e40;z-index:-1}
.ph-dialog .ce-hero-copy{position:relative;z-index:2;padding:5px 0}
.ph-dialog .ce-hero-copy h3{font-family:Georgia,'Noto Serif TC',serif;font-weight:400;font-size:clamp(26px,3.2vw,37px);line-height:1.24;max-width:390px;margin:12px 0}
.ph-dialog .ce-hero-copy>p{max-width:355px}
.ph-dialog .ce-balance{display:grid;grid-template-columns:auto 1fr;align-items:baseline;column-gap:12px;width:fit-content;margin:20px 0 12px}
.ph-dialog .ce-balance>span{grid-column:1/-1;text-transform:uppercase;font-size:10px;font-weight:600;letter-spacing:1.5px;color:#bccbbe}
.ph-dialog .ce-balance>strong{font-size:54px;font-family:Georgia,serif;line-height:1.15;font-variant-numeric:tabular-nums;font-weight:400;color:#f7dfa5;text-shadow:0 2px 25px #cf9f4640}
.ph-dialog .ce-balance>small{color:#ddc089;letter-spacing:1px}
.ph-dialog .ce-diorama{position:relative;min-width:0;min-height:255px;align-self:center;perspective:700px;transform-style:preserve-3d;pointer-events:none}
.ph-dialog .ce-halo{position:absolute;width:220px;height:220px;left:50%;top:35%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#f4d16d22,transparent 68%);box-shadow:0 0 65px #c4ab4612}
.ph-dialog .ce-orbit{position:absolute;width:207px;height:207px;border:1px solid #cbb47535;border-radius:50%;left:50%;top:32%;transform:translate(-50%,-50%) rotateX(66deg) rotateZ(-20deg);box-shadow:0 0 24px #cbb47508}
.ph-dialog .ce-orbit::before,.ph-dialog .ce-orbit::after{content:"";position:absolute;inset:-20px;border:1px dashed #d5b55d22;border-radius:50%}
.ph-dialog .ce-orbit::after{inset:17px;border-style:solid}
.ph-dialog .ce-coin{position:absolute;width:106px;height:106px;left:50%;top:37%;transform:translate(-50%,-50%) rotateX(15deg) rotateY(-23deg) rotateZ(-14deg);transform-style:preserve-3d;filter:drop-shadow(0 14px 16px #07150c90);animation:ce-coin-rest 7s ease-in-out infinite}
.ph-dialog .ce-coin-edge{position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(#997238 0deg 5deg,#5c4b2b 5deg 9deg);transform:translateZ(-7px);box-shadow:1px 1px #806536,2px 2px #67512e,3px 3px #b18d47,4px 4px #715b2c,5px 5px #99834c,6px 6px #55492d,7px 7px #b29a54,8px 8px #574c32}
.ph-dialog .ce-coin-face{position:absolute;inset:0;border-radius:50%;border:3px solid #cead62;background:radial-gradient(circle at 31% 22%,#fff1bb,#d4ab56 43%,#8e743d 76%,#e9c36b);box-shadow:inset 0 0 0 4px #ffe8a042,inset 0 0 0 6px #685b3980,inset 0 0 12px #fff0a952,0 0 24px #ead17916;color:#695533;transform:translateZ(1px)}
.ph-dialog .ce-coin-face svg{width:100%;height:100%;filter:drop-shadow(0 1px 0 #fff2ba);padding:8px}
.ph-dialog .ce-plinth{position:absolute;width:203px;height:67px;left:50%;bottom:12%;transform:translateX(-50%);filter:drop-shadow(0 14px 18px #020a086b)}
.ph-dialog .ce-plinth-top{position:absolute;inset:0 0 12px;border-radius:50%;border:1px solid #bd9c5177;background:radial-gradient(ellipse,#d6b96618 2%,#33483b 38%,#53654b 62%,#b2975570 63%,#37473a 65%,#192d2a);box-shadow:inset 0 0 14px #b996421f,0 5px 0 #111e1c,0 9px 0 #344337,0 11px 0 #16261e}
.ph-dialog .ce-plinth-side{position:absolute;width:150px;height:14px;left:26px;top:28px;border-radius:50%;background:radial-gradient(ellipse,#e7c65c55,transparent 70%);filter:blur(5px)}
.ph-dialog .ce-mote{position:absolute;width:4px;height:4px;border-radius:50%;background:#f2d99c;box-shadow:0 0 8px #e5ca7990;animation:ce-mote-rest 4s ease-in-out infinite}
.ph-dialog .ce-mote-one{left:24%;top:39%;animation-delay:-.5s}.ph-dialog .ce-mote-two{right:25%;top:24%;animation-delay:-1.7s}.ph-dialog .ce-mote-three{left:61%;top:64%;width:3px;height:3px;animation-delay:-2.4s}.ph-dialog .ce-mote-four{left:28%;top:16%;width:2px;height:2px;animation-delay:-3s}
.ph-dialog .ce-scene-caption{position:absolute;bottom:0;width:100%;text-align:center;letter-spacing:10px;color:#c6ad6a;font-size:14px;opacity:.6}
.ph-dialog .ce-saving-goal{display:flex;align-items:center;gap:24px;padding:22px;border:1px solid var(--ce-line);border-radius:16px;background:linear-gradient(115deg,#20383185,#16292c85);min-width:0}
.ph-dialog .ce-saving-goal.is-ready{border-color:#ad9b575c;background:linear-gradient(110deg,#4e482e5c,#17333375)}
.ph-dialog .ce-goal-copy{flex:1;min-width:0}.ph-dialog .ce-goal-copy h3{font-size:24px;margin:6px 0 14px}.ph-dialog .ce-goal-copy>small{display:block;margin-top:10px}
.ph-dialog .ce-goal-art{flex:0 0 160px;align-self:stretch;min-height:155px;border-radius:12px;overflow:hidden;border:1px solid #bca96c25}.ph-dialog .ce-goal-art .ph-display{height:100%;min-height:155px}.ph-dialog .ce-goal-art .ph-display-die{width:54px;height:54px}
.ph-dialog .ce-goal-empty{display:flex;gap:24px;align-items:center}.ph-dialog .ce-goal-empty h3{font-size:23px;margin-top:8px}.ph-dialog .ce-empty-compass{display:grid;place-items:center;width:108px;height:108px;flex:0 0 108px;border-radius:50%;border:1px dashed #bda46655;background:radial-gradient(circle,#afa36718,transparent 72%);font:64px Georgia,serif;color:#ccb57c}
.ph-dialog .ce-goal-numbers{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;font-size:12px;margin:12px 0 9px}.ph-dialog .ce-goal-numbers strong{font-weight:600;color:#f2dcaf}.ph-dialog .ce-goal-numbers span{color:#b3c8b5;font-size:11px}
.ph-dialog .ce-goal-copy progress{appearance:none;display:block;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:#061916}
.ph-dialog .ce-goal-copy progress::-webkit-progress-bar{background:#061916;border-radius:8px}.ph-dialog .ce-goal-copy progress::-webkit-progress-value{background:linear-gradient(90deg,#7caf91,#eed092);border-radius:8px}.ph-dialog .ce-goal-copy progress::-moz-progress-bar{background:linear-gradient(90deg,#7caf91,#eed092);border-radius:8px}
.ph-dialog .ce-goal-copy .ce-goal-hint{font-size:11px;margin:10px 0;color:#c4ccb6}.ph-dialog .ce-ready-label{display:inline-block;color:#e7d692;font-size:11px;letter-spacing:.4px}.ph-dialog .ce-owned{color:#b2e0c6}
.ph-dialog .ce-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.ph-dialog .ce-section-heading h3{font-size:21px;margin:6px 0}.ph-dialog .ce-section-heading>div{min-width:0}.ph-dialog .ce-section-heading .ph-button{flex-shrink:0}
.ph-dialog .ce-affordable-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}
.ph-dialog .ce-affordable-item{display:grid;grid-template-columns:1fr;position:relative;gap:0;text-align:left;border-radius:12px;border:1px solid #5f756054;background:#122b26;color:#e9e6d5;padding:0;overflow:hidden;min-width:0;cursor:pointer;transition:border-color .16s,background .16s}
.ph-dialog .ce-affordable-item:hover{background:#1a362e;border-color:#c0a77590}.ph-dialog .ce-affordable-item>.ph-display{height:94px;border-radius:0}.ph-dialog .ce-affordable-item>span{display:grid;gap:5px;padding:13px 13px 5px;min-width:0}.ph-dialog .ce-affordable-item strong{font-size:13px;line-height:1.4;font-weight:600}.ph-dialog .ce-affordable-item>em{padding:7px 13px 13px;color:#d7c58f;font-size:10px;font-style:normal;letter-spacing:.4px}
.ph-dialog .ce-rewards{display:grid;gap:12px}.ph-dialog .ce-gift{display:flex;gap:18px;align-items:flex-start;background:linear-gradient(115deg,#34483375,#172e2975);border:1px solid var(--ce-line);padding:23px;border-radius:14px}.ph-dialog .ce-gift h3{font-size:21px}.ph-dialog .ce-gift small{display:block;margin-top:10px}.ph-dialog .ce-gift small+small{margin-top:1px;font-size:10px;color:#a6b9a9}.ph-dialog .ce-gift-symbol{display:grid;place-items:center;flex:0 0 55px;width:55px;height:55px;background:#c8b17517;border-radius:50%;border:1px solid #bba26255;color:#dfc792}.ph-dialog .ce-gift-symbol svg{width:41px;height:41px}
.ph-dialog .ce-coop{border:1px solid var(--ce-line);border-radius:12px;padding:0 21px;background:#1128235c}.ph-dialog .ce-coop>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:56px;cursor:pointer;font-size:13px;color:#dcdac4}.ph-dialog .ce-coop>summary::-webkit-details-marker{display:none}.ph-dialog .ce-coop>summary span{color:#c9af74;font-size:22px;font-weight:300}.ph-dialog .ce-coop[open]>summary span{transform:rotate(45deg)}.ph-dialog .ce-coop[open]{padding-bottom:17px}
.ph-dialog .ce-coop-goals{display:grid;gap:13px;margin-bottom:14px}.ph-dialog .ce-coop-goals article{display:flex;align-items:center;gap:20px;justify-content:space-between;border-top:1px solid #78927125;padding-top:14px}.ph-dialog .ce-coop-goals article h4{font-size:14px}.ph-dialog .ce-coop-goals article p{font-size:11px;margin:4px 0;max-width:430px}.ph-dialog .ce-coop-goals .ph-button{font-size:11px;flex-shrink:0;max-width:180px}
.ph-dialog .ce-history{border-top:1px solid #71816840;padding-top:19px}.ph-dialog .ce-history .ce-section-heading p{font-size:12px;margin:6px 0}.ph-dialog .ce-history .ce-section-heading>.ph-button{font-size:11px}.ph-dialog .ce-history ol{margin:14px 0 0;padding:0;list-style:none;display:grid}.ph-dialog .ce-history li{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #60736227}.ph-dialog .ce-activity-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#cbbb7012;color:#d0bb8b;font-size:20px;flex:0 0 36px}.ph-dialog .ce-activity-copy{flex:1;display:grid;gap:5px;min-width:0}.ph-dialog .ce-activity-copy strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}.ph-dialog .ce-activity-copy time{font-size:10px;color:#a3b9af}.ph-dialog .ce-activity-amount{text-align:right;display:grid;gap:4px;flex-shrink:0}.ph-dialog .ce-activity-amount strong{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;color:#dfc49c}.ph-dialog .ce-activity-amount small{font-size:10px}.ph-dialog .ce-history .ce-credit{color:#a5d9b7}.ph-dialog .ce-history>small{display:block;margin-top:12px}.ph-dialog .ce-history .ce-history-message{padding:12px;border:1px solid #b7aa6240;border-radius:8px;color:#ddcca0;font-size:12px}.ph-dialog .ce-history-empty{padding:22px 16px;border:1px dashed #6b89624d;border-radius:10px;text-align:center;font-size:12px}
.ph-dialog .ce-guidance{display:grid;grid-template-columns:1fr 1fr;gap:14px;border-top:1px solid #657b5d30;padding-top:10px}.ph-dialog .ce-guidance summary{min-height:44px;padding:12px 0;cursor:pointer;font-size:12px;color:#c4c6ac}.ph-dialog .ce-guidance p{font-size:11px}
.ph-dialog .ce-save-goal{display:inline-flex;gap:7px;align-items:center;margin-top:10px;min-height:44px;color:#e3cd96;border-color:#a4946655}.ph-dialog .ce-save-goal[aria-pressed="true"]{color:#b5d5b7;opacity:1;background:#263f3160}.ph-dialog .ce-save-goal>span{font-size:17px}
.ph-dialog .ce-lodge-entry{display:flex;gap:18px;align-items:center;padding:17px 20px;margin:0 0 20px;background:linear-gradient(100deg,#254035,#142d2b);border:1px solid #b9a36c40;border-radius:13px;color:#ece4ce}.ph-dialog .ce-lodge-entry>span{display:grid;place-items:center;font:34px Georgia,serif;color:#dac087}.ph-dialog .ce-lodge-entry>div{flex:1;min-width:0}.ph-dialog .ce-lodge-entry strong{font-size:15px;font-weight:600}.ph-dialog .ce-lodge-entry p{font-size:12px;color:#bcc9b6;margin:4px 0}.ph-dialog .ce-lodge-entry .ph-button{min-height:44px;flex-shrink:0}
.ph-dialog .ce-receipt-moment{position:absolute;top:91px;right:24px;z-index:20;display:flex;align-items:center;gap:13px;max-width:calc(100% - 32px);padding:15px 21px 15px 14px;border:1px solid #bca66599;border-radius:16px;background:linear-gradient(120deg,#263b31f5,#112927fa);box-shadow:0 12px 40px #0007;pointer-events:none;isolation:isolate;color:#ead19b;overflow:hidden}
.ph-dialog .ce-receipt-moment[hidden]{display:none!important}.ph-dialog .ce-receipt-moment>div:nth-child(2){display:grid;gap:3px}.ph-dialog .ce-receipt-moment span{font-size:8px;letter-spacing:1.3px;color:#c7c39e;text-transform:uppercase}.ph-dialog .ce-receipt-moment strong{font:27px Georgia,serif;color:#f4dbab}.ph-dialog .ce-receipt-moment small{font-size:10px;color:#c2caba}.ph-dialog .ce-receipt-orb{width:46px;height:46px;border:1px solid #e8c67b;border-radius:50%;background:radial-gradient(circle at 30% 20%,#d0b96b,#745a2e);box-shadow:2px 3px 0 #56472b,0 0 30px #edc65d28;color:#f7e6ab;flex-shrink:0}.ph-dialog .ce-receipt-orb svg{width:100%;height:100%}
.ph-dialog .ce-receipt-moment.is-entering{animation:ce-receipt-enter .5s cubic-bezier(.16,1,.3,1) both}.ph-dialog .ce-receipt-moment.is-entering .ce-receipt-orb{animation:ce-receipt-coin .85s cubic-bezier(.2,.65,.3,1) both}
.ph-dialog .ce-receipt-particles{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}.ph-dialog .ce-receipt-particles i{position:absolute;width:3px;height:3px;left:23px;top:50%;background:#f9d98f;border-radius:50%;box-shadow:0 0 7px #eac87a;animation:ce-receipt-sparks 1.45s calc(var(--i)*.09s) ease-out both}
@keyframes ce-coin-rest{0%,100%{transform:translate(-50%,-50%) rotateX(15deg) rotateY(-23deg) rotateZ(-14deg)}50%{transform:translate(-50%,calc(-50% - 8px)) rotateX(9deg) rotateY(-12deg) rotateZ(-10deg)}}
@keyframes ce-mote-rest{0%,100%{opacity:.28;transform:translateY(0)}50%{opacity:.85;transform:translateY(-6px)}}
@keyframes ce-receipt-enter{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes ce-receipt-coin{from{transform:rotateY(-100deg) scale(.75)}to{transform:rotateY(0) scale(1)}}
@keyframes ce-receipt-sparks{0%{opacity:0;transform:translate(0,0)}15%{opacity:1}85%{opacity:.8}100%{opacity:0;transform:translate(calc(60px + var(--i)*23px),calc((var(--i) - 3)*14px))}}
.ph-dialog.ph-reduced-motion .ce-coin,.ph-dialog.ph-reduced-motion .ce-mote,.ph-dialog.ph-reduced-motion .ce-receipt-moment,.ph-dialog.ph-reduced-motion .ce-receipt-orb,.ph-dialog.ph-reduced-motion .ce-receipt-particles i,.ph-dialog .ce-receipt-moment.ce-reduced,.ph-dialog .ce-receipt-moment.ce-reduced .ce-receipt-orb{animation:none!important}
.ph-dialog.ph-reduced-motion .ce-receipt-particles,.ph-dialog .ce-reduced .ce-receipt-particles{display:none}
.ph-dialog:not([open]) .ce-coin,.ph-dialog:not([open]) .ce-mote{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.ph-dialog .ce-coin,.ph-dialog .ce-mote,.ph-dialog .ce-receipt-moment,.ph-dialog .ce-receipt-orb,.ph-dialog .ce-receipt-particles i{animation:none!important}.ph-dialog .ce-receipt-particles{display:none}.ph-dialog .ce-affordable-item,.ph-dialog .ph-wallet[data-ph-action]{transition:none}}
@media(max-width:700px){.ph-dialog .ce-hero{padding:22px;grid-template-columns:1.15fr .85fr;min-height:305px}.ph-dialog .ce-diorama{transform:scale(.8);transform-origin:center center;margin:-15px}.ph-dialog .ce-saving-goal{gap:16px;padding:18px}.ph-dialog .ce-goal-art{flex-basis:125px}.ph-dialog .ce-goal-copy h3{font-size:22px}.ph-dialog .ce-affordable-list{gap:9px}.ph-dialog .ce-section-heading{align-items:flex-start}.ph-dialog .ce-section-heading>.ph-button{max-width:160px;font-size:11px}}
@media(max-width:500px){.ph-dialog .ph-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.ph-dialog .ph-tabs [role="tab"]{min-width:0;padding:13px 4px;font-size:11px;line-height:1.3;white-space:normal}.ph-dialog .ph-header-right{gap:8px}.ph-dialog .ph-wallet[data-ph-action]{font-size:11px;padding:8px 10px}.ph-dialog .ce-treasury{gap:18px}.ph-dialog .ce-hero{grid-template-columns:1fr;padding:23px 20px;min-height:405px}.ph-dialog .ce-hero-copy{padding:0}.ph-dialog .ce-hero-copy h3{font-size:29px;max-width:235px}.ph-dialog .ce-hero-copy>p{font-size:12px;max-width:270px}.ph-dialog .ce-diorama{position:absolute;width:195px;min-height:225px;height:225px;right:-5px;bottom:14px;transform:scale(.77);transform-origin:bottom right;z-index:1}.ph-dialog .ce-balance{margin:32px 0 18px;max-width:150px;column-gap:8px}.ph-dialog .ce-balance>strong{font-size:48px}.ph-dialog .ce-balance>small{font-size:10px}.ph-dialog .ce-hero-copy>.ph-button{margin-top:7px;max-width:185px}.ph-dialog .ce-saving-goal{padding:18px;align-items:flex-start;flex-direction:column;gap:15px}.ph-dialog .ce-goal-art{flex:auto;width:100%;height:136px;min-height:136px}.ph-dialog .ce-goal-art .ph-display{height:136px;min-height:136px}.ph-dialog .ce-goal-copy{width:100%}.ph-dialog .ce-goal-copy h3{font-size:24px}.ph-dialog .ce-goal-empty{align-items:flex-start;gap:12px}.ph-dialog .ce-empty-compass{flex-basis:44px;width:44px;height:44px;font-size:31px;margin-top:22px}.ph-dialog .ce-goal-empty h3{font-size:21px}.ph-dialog .ce-goal-empty p{font-size:12px}.ph-dialog .ce-section-heading{flex-wrap:wrap;gap:7px}.ph-dialog .ce-section-heading h3{font-size:21px}.ph-dialog .ce-section-heading>.ph-button{min-height:40px;padding:8px 10px}.ph-dialog .ce-affordable-list{grid-template-columns:1fr}.ph-dialog .ce-affordable-item{grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto auto;min-height:82px;column-gap:11px}.ph-dialog .ce-affordable-item>.ph-display{grid-row:1/3;width:76px;height:100%;min-height:82px;overflow:hidden}.ph-dialog .ce-affordable-item .ph-display-die{width:30px;height:30px}.ph-dialog .ce-affordable-item>span{padding:12px 10px 3px 0;align-self:end}.ph-dialog .ce-affordable-item>em{padding:3px 10px 12px 0}.ph-dialog .ce-gift{padding:18px 16px;gap:12px}.ph-dialog .ce-gift-symbol{width:40px;height:40px;flex-basis:40px}.ph-dialog .ce-gift-symbol svg{width:31px;height:31px}.ph-dialog .ce-gift h3{font-size:20px}.ph-dialog .ce-gift p{font-size:12px}.ph-dialog .ce-coop{padding:0 16px}.ph-dialog .ce-coop-goals article{align-items:flex-start;flex-direction:column;gap:8px}.ph-dialog .ce-coop-goals .ph-button{max-width:none}.ph-dialog .ce-guidance{grid-template-columns:1fr;gap:0}.ph-dialog .ce-history .ce-section-heading>.ph-button{font-size:10px}.ph-dialog .ce-activity-amount{max-width:94px}.ph-dialog .ce-activity-copy time{font-size:9px}.ph-dialog .ce-activity-icon{width:30px;height:30px;flex-basis:30px}.ph-dialog .ce-history li{gap:9px}.ph-dialog .ce-lodge-entry{padding:14px;gap:11px;flex-wrap:wrap}.ph-dialog .ce-lodge-entry>div{flex-basis:calc(100% - 55px)}.ph-dialog .ce-lodge-entry>.ph-button{margin-left:37px}.ph-dialog .ce-receipt-moment{right:12px;top:85px;padding:12px;max-width:calc(100% - 24px)}.ph-dialog .ce-receipt-moment strong{font-size:24px}}
@media(max-width:350px){.ph-dialog .ce-hero{padding:20px 16px;min-height:420px}.ph-dialog .ce-diorama{transform:scale(.65);right:-15px;bottom:20px}.ph-dialog .ce-hero-copy h3{font-size:27px}.ph-dialog .ce-balance{max-width:125px}.ph-dialog .ce-balance>strong{font-size:40px}.ph-dialog .ce-hero-copy>.ph-button{max-width:155px}.ph-dialog .ce-goal-empty{display:block}.ph-dialog .ce-empty-compass{display:none}.ph-dialog .ce-gift{display:block}.ph-dialog .ce-gift-symbol{margin-bottom:13px}}

/* Follow the shared presentation preferences added by the 3D/settings work. */
html[data-ambient="off"] .ph-dialog :is(.ce-coin,.ce-mote),html[data-graphics="low"] .ph-dialog :is(.ce-coin,.ce-mote){animation:none!important}
html[data-graphics="low"] .ph-dialog :is(.ce-mote,.ce-receipt-particles){display:none}
html[data-graphics="low"] .ph-dialog :is(.ce-coin,.ce-plinth,.ce-coin-face svg){filter:none}
html[data-contrast="high"] .ph-dialog.ce-is-open .ph-scroll{background:#0e2425}
html[data-contrast="high"] .ph-dialog.ce-is-open .ce-treasury :is(h3,h4){color:#fff7e1}
html[data-contrast="high"] .ph-dialog.ce-is-open .ph-return-shop{background:#102825;border-color:#a4b69a;color:#fff7e1}
html[data-contrast="high"] .ph-dialog.ce-is-open .ph-return-shop p{color:#e0ecde}
html[data-contrast="high"] .ph-dialog.ce-is-open .ph-return-shop>.ph-button{color:#fff7e1;background:#183d2c;border-color:#c5d4b6}
html[data-contrast="high"] .ph-dialog.ce-is-open .ph-return-shop>.ph-button:hover:not(:disabled){color:#fff7e1;background:#284f3b;border-color:#e5eacb}
html[data-contrast="high"] .ph-dialog .ce-treasury{color:#fff7e1}
html[data-contrast="high"] .ph-dialog .ce-treasury :is(p,small,time,.ph-eyebrow,.ce-goal-numbers span,.ce-affordable-item>em){color:#e0ecde}
html[data-contrast="high"] .ph-dialog :is(.ce-saving-goal,.ce-gift,.ce-coop,.ce-affordable-item){background:#102825;border-color:#a4b69a}
html[data-contrast="high"] .ph-dialog .ce-treasury .ph-primary{color:#1a2421;background:#f5ddb0;border-color:#f5ddb0}
html[data-contrast="high"] .ph-dialog .ce-treasury .ph-primary:hover:not(:disabled){color:#1a2421;background:#fff0cb;border-color:#fff0cb}
html[data-contrast="high"] .ph-dialog .ce-treasury .ph-button:disabled{opacity:1;color:#dce6d4;background:#263d33;border-style:dashed}
html[data-text-size="large"] .ph-dialog.ce-is-open .ph-return-shop{display:block}
html[data-text-size="large"] .ph-dialog.ce-is-open .ph-return-shop :is(strong,p,.ph-button){font-size:1rem!important;line-height:1.65;overflow-wrap:anywhere}
html[data-text-size="large"] .ph-dialog.ce-is-open .ph-return-shop>.ph-button{width:100%;max-width:100%;margin-top:12px}
html[data-text-size="large"] .ph-dialog .ce-treasury :is(p,.ph-button,summary,.ce-affordable-item strong,.ce-activity-copy strong){font-size:1rem!important;line-height:1.65;overflow-wrap:anywhere}
html[data-text-size="large"] .ph-dialog .ce-treasury :is(small,time,.ph-eyebrow,.ce-goal-numbers,.ce-goal-numbers span,.ce-goal-hint,.ce-ready-label,.ce-affordable-item>em){font-size:.875rem;line-height:1.65;overflow-wrap:anywhere}
html[data-text-size="large"] .ph-dialog :is(.ce-save-goal,.ce-lodge-entry .ph-button){font-size:1rem!important;white-space:normal}
html[data-text-size="large"] .ph-dialog .ph-tabs [role="tab"]{font-size:.875rem!important;min-height:48px;white-space:normal}
html[data-text-size="large"] .ph-dialog .ce-hero{grid-template-columns:minmax(0,1fr);min-height:0}
html[data-text-size="large"] .ph-dialog .ce-hero-copy :is(h3,p),html[data-text-size="large"] .ph-dialog .ce-hero-copy>.ph-button,html[data-text-size="large"] .ph-dialog .ce-balance{max-width:100%}
html[data-text-size="large"] .ph-dialog .ce-diorama{position:relative;width:min(100%,240px);height:240px;min-height:240px;justify-self:center;right:auto;bottom:auto;margin:0;transform:none}
html[data-text-size="large"] .ph-dialog .ce-affordable-list{grid-template-columns:minmax(0,1fr)}
html[data-text-size="large"] .ph-dialog :is(.ce-section-heading,.ce-saving-goal){flex-wrap:wrap}
html[data-text-size="large"] .ph-dialog .ce-activity-amount{max-width:40%;overflow-wrap:anywhere}
