@font-face{font-family:'Noto Sans TC';src:url('/assets/noto-sans-tc.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
/* 小卡的狀態機與資料政策保持不變；共用網站的字型、紙色與細線。 */
:root{--paper:#faf9f4;--ink:#283c35;--muted:#647068;--green:#365b49;--line:#d5d9ce}
body{font-family:'Noto Sans TC','Microsoft JhengHei',sans-serif;background:var(--paper)}
.app{width:min(100%,600px);padding:24px 32px 12px}
.brand{font-family:'Noto Sans TC','Microsoft JhengHei',sans-serif;font-size:19px;letter-spacing:.06em;font-weight:600;display:flex;align-items:center;gap:12px}
.brand:before{content:'';display:block;width:34px;height:35px;background:url('/assets/tony.webp') center/contain no-repeat}
header{border-bottom:1px solid var(--line);padding-bottom:14px}.notice{margin-top:12px;letter-spacing:.04em;font-size:12px}
h1,.card h1,.back span,.history span:first-child{font-family:'Noto Sans TC',sans-serif;font-weight:400}
h1{font-size:32px;line-height:1.65}.landing-mark{width:110px;height:130px;margin-bottom:30px}.mini{border-color:#809382;background:#e9eee4;border-radius:8px}.mini:nth-child(2){background:#eee4c6}.mini:nth-child(3){background:#faf9f4}.card{border-radius:8px;padding:32px;background:#faf9f4;border-color:#acb9a5;box-shadow:0 12px 35px #283c3509}.card[data-card=hear]{background:#e9eee4}.card[data-card=care]{background:#f2e8ce}.card h1{font-size:34px}.symbol{color:#6c846c}.back{border-radius:10px;background:#e9eee4;box-shadow:0 16px 32px #283c3510}@media (hover: hover) and (pointer: fine){.back:hover{background:#e0e8d7}}.question{background:#e9eee4;border-radius:6px;border-left:2px solid #9daf91}.primary{background:#283c35;border-color:#283c35;border-radius:28px}.actions button{border-radius:28px}.history button{border-radius:6px}dialog{border-radius:8px}
@media(max-width:420px){.app{padding:18px 22px 8px}.brand{font-size:17px;gap:9px}.brand:before{width:29px;height:30px}.notice{font-size:11px}.card{padding:24px 22px}h1{font-size:27px}.card h1{font-size:30px}.landing-mark{width:100px;height:115px;margin-bottom:24px}}
/* 卡背與正面共享紙張編號、細線與品牌頁眉，所有操作維持原狀。 */
body{font-weight:450}.notice,.small,.quiet,.home-link,button,.reading-link,footer{font-family:'Noto Sans TC','Microsoft JhengHei',sans-serif;font-weight:500}
main{justify-content:flex-start;padding-top:clamp(35px,7vh,70px);padding-bottom:30px}
.landing-mark{width:174px;height:190px;margin-bottom:24px}.mini{inset:9px 32px;background:#eee4c6;box-shadow:0 8px 18px #283c350c;display:grid;place-items:center}.mini:first-child{transform:translateX(-20px) rotate(-14deg)}.mini:nth-child(2){background:#d7e6d7;transform:translateX(20px) rotate(14deg)}.mini:nth-child(3){background:#faf9f4}.mini small{position:absolute;top:13px;left:13px;font:500 12px 'Noto Sans TC',sans-serif;color:#536057}.mini svg{width:48px;height:48px;color:#47674e}
.back{width:230px;height:310px;gap:0;background:#e9eee4;border:1px solid #829781;box-shadow:8px 8px 0 #f0ead8,0 12px 30px #283c3510;padding:17px;overflow:visible}.back:before{content:'';position:absolute;inset:9px;border:1px solid #acbba2;border-radius:5px;pointer-events:none}.back-ornament{display:flex;flex-direction:column;align-items:center;gap:15px;width:100%;padding:8px 0 19px}.back-ornament small{font:500 11px 'Noto Sans TC',sans-serif;letter-spacing:.1em;color:#536057}.back-ornament .symbol{width:75px;height:75px;margin:4px 0;background:#f6f3e7;border-radius:50%;padding:12px}.back-ornament span{font-size:25px;letter-spacing:.17em}.back .back-prompt{font:500 12px 'Noto Sans TC',sans-serif;letter-spacing:.03em;border-top:1px solid #acbba2;width:85%;padding-top:14px}
.card{position:relative;padding:24px 30px 30px;box-shadow:7px 8px 0 #ece8d9,0 10px 28px #283c3508}.card-edition{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #b9c5ae;padding-bottom:14px;margin-bottom:23px;font:500 11px 'Noto Sans TC',sans-serif;color:#536057;letter-spacing:.04em}.card-edition>span:first-child{font:italic 22px 'Noto Sans TC',sans-serif;color:#59715b}.card>.symbol{background:#f9f8f2a6;border:1px solid #bdcbb4;border-radius:50%;padding:8px;width:64px;height:64px;margin-bottom:12px}.card h1{font-size:32px;margin-bottom:18px}.card p{font-size:18px;font-weight:450;line-height:1.9}.actions{margin-top:26px}.subactions{margin-top:12px}.app footer{margin-top:auto}
@media(max-width:420px){main{padding-top:34px;padding-bottom:25px}.landing-mark{width:153px;height:164px;margin-bottom:24px}.mini{inset:8px 29px}.mini svg{width:42px;height:42px}h1{font-size:27px}.back{width:220px;height:295px}.card{padding:18px 22px 25px}.card-edition{margin-bottom:20px;padding-bottom:12px;font-size:10px}.card-edition>span:first-child{font-size:20px}.card>.symbol{width:59px;height:59px}.card h1{font-size:30px}.card p{font-size:17px;line-height:1.9}.actions{margin-top:24px}.subactions{margin-top:10px}}

h1{font-family:"Noto Sans TC",sans-serif;font-weight:600}

button:not(.back):not(:disabled):active{background:#e0e8d7}button.primary:not(:disabled):active{background:#1e3029}

/* Responsive workspace: broad shell, bounded card reading area. */
.app{width:min(1120px,100%);min-height:calc(100svh - 100px);padding:32px;display:grid;grid-template-columns:300px minmax(0,600px);column-gap:64px;align-items:start;justify-content:center}.cards-context{grid-column:1;grid-row:1/4;padding:36px 0}.cards-context h2{font-size:30px;line-height:1.5;margin:14px 0 20px}.cards-label{font-size:14px;color:#536657}.cards-context ol{padding-left:22px;margin:28px 0;line-height:2.3}.app>.notice{grid-column:2;margin:0;padding:12px 0}.app>main{grid-column:2;width:100%;min-width:0;padding:24px 0 32px}.app>footer{grid-column:2;width:100%;margin-top:0}.cards-context .small{margin-top:28px}.app .card,.app .question,.app .history{max-width:560px}.app .actions,.app .subactions{max-width:560px}@media(max-width:900px){.app{column-gap:32px;grid-template-columns:230px minmax(0,1fr);padding:24px}.cards-context h2{font-size:25px}}@media(max-width:700px){.app{display:flex;max-width:600px;padding:20px;min-height:calc(100svh - 90px)}.cards-context{padding:12px 0 20px;width:100%}.cards-context h2{font-size:25px;margin:8px 0}.cards-context h2 br{display:none}.cards-context ol,.cards-context>.small{display:none}.cards-context>p:not(.cards-label){font-size:14px}.app>main{padding:20px 0}.app>.notice{font-size:12px}.app>footer{margin-top:auto}}

.cards-fallback-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.cards-fallback-links a{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border:1px solid #40594b;border-radius:24px;background:#edf1e6;color:#233d32;text-decoration:none}.cards-fallback-links a:focus-visible{outline:3px solid #197a65;outline-offset:4px}

#about[hidden]{display:none!important}

