.wishes-screen { padding-bottom: 0; }
.wishes-tabs { display: flex; margin: 24px 0; border-bottom: 1px solid var(--ui-line); }
.wishes-tabs button { flex: 1; min-width: 0; min-height: 48px; padding: 10px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--ui-muted); font: 500 14px/1.5 var(--sans); cursor: pointer; }
.wishes-tabs button[aria-selected=true] { color: var(--ui-action); border-bottom-color: var(--ui-action); font-weight: 700; }
.wish-history-card { margin: 16px 0; padding: 20px; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: var(--ui-surface); }
.wish-history-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; color: var(--ui-muted); font: 400 13px/1.6 var(--sans); }
.wish-example-badge { padding: 3px 8px; border-radius: 6px; background: var(--ui-soft); color: var(--ui-muted); }
.wish-history-card h3 { margin: 16px 0 8px; color: var(--ui-ink); font: 600 17px/1.5 var(--sans); }
.wish-history-card h4 { margin: 20px 0 10px; padding-top: 16px; border-top: 1px solid var(--ui-line); color: var(--ui-gold); font: 600 13px/1.5 var(--sans); }
.wish-history-text,.wish-history-advice { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ui-ink); font: 400 15px/1.8 var(--sans); }
.wish-history-advice { font: 400 16px/1.9 var(--serif); }
.wishes-status { color: var(--ui-muted); font: 400 14px/1.75 var(--sans); }
.wishes-tabs button:focus-visible { outline: 2px solid var(--ui-action); outline-offset: 2px; }
@media (max-width:360px) { .wish-history-card { padding: 16px; } }

.wishes-tabs { gap: 4px; margin: 28px 0 22px; padding: 5px; border: 1px solid var(--ui-line); border-radius: 16px; background: var(--ui-soft); }
.wishes-tabs button { min-height: 46px; border: 0; border-radius: 11px; }
.wishes-tabs button[aria-selected=true] { background: var(--ui-surface); color: var(--ui-action); box-shadow: 0 2px 5px #302b260a; }
.wishes-tabs button:hover:not([aria-selected=true]) { color: var(--ui-ink); background: #fffdf866; }
.wish-history-card { margin: 14px 0; padding: 24px; border-radius: 20px; box-shadow: 0 3px 14px #493d2e04; }
.wish-history-head { font-size: 12px; font-variant-numeric: tabular-nums; }
.wish-example-badge { padding: 4px 8px; color: var(--ui-muted); font-size: 11px; }
.wish-history-card h3 { margin: 20px 0 10px; color: var(--ui-gold); font: 600 12px/1.6 var(--sans); }
.wish-history-text { font: 500 21px/1.7 var(--serif); letter-spacing: -.025em; }
.wish-history-card h4 { margin-top: 22px; padding-top: 20px; color: #50624e; font-size: 12px; }
.wish-history-advice { color: var(--ui-muted); font: 400 15px/1.95 var(--sans); }
.wishes-status:not(:empty) { padding: 20px; border: 1px solid var(--ui-line); border-radius: 16px; background: var(--ui-surface); line-height: 1.85; }
@media(max-width:400px) { .wish-history-card { padding: 20px 18px; }.wish-history-text { font-size: 20px; } }

/* Let the daily offering be the first action on the wishes page. */
.wishes-screen .pond-wish-inline { padding: 16px; border: 1px solid #e4d8c8; border-radius: 16px; background: #fffaf1; }
.wishes-screen .pond-wish-inline h3 { margin: 0 0 4px; color: #3f3028; font: 700 18px/1.5 var(--serif); }
.wishes-screen .pond-wish-inline .pond-wish-form { margin-top: 10px; }
.wishes-screen .pond-wish-inline .pond-wish-form button[type=submit] { width: 100%; border-color: #55312d; border-radius: 12px; background: #55312d; }
.wishes-screen .pond-wish-inline .pond-wish-form button[type=submit]:disabled { opacity: .6; }

/* The wishes pond uses the landing quest's nine-step meter inside one illustrated card. */
.wishes-main-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:15px 0 12px;padding:5px;border:1px solid var(--ui-line);border-radius:15px;background:var(--ui-soft)}
.wishes-main-tabs button{min-height:48px;padding:8px 5px;border:0;border-radius:10px;background:transparent;color:var(--ui-muted);font:600 13px/1.4 var(--sans);cursor:pointer}
.wishes-main-tabs button[aria-selected=true]{background:var(--ui-surface);color:var(--ui-action);box-shadow:0 2px 5px #302b260a}
.wishes-main-tabs button:focus-visible{outline:2px solid var(--ui-action);outline-offset:2px}
.wishes-main-panel[hidden]{display:none}
.wishes-screen #wishes-write-panel .pond-wish-inline{padding:14px 16px;border-radius:14px}
.wishes-screen #wishes-write-panel .pond-wish-inline h3{font-size:16px}
.wishes-screen #wishes-write-panel .pond-wish-form{gap:9px;margin-top:8px}
.wishes-screen #wishes-write-panel .pond-wish-form input[type=text]{min-height:48px;padding:10px 12px}
.wishes-screen #wishes-write-panel .pond-wish-hint{margin:0;padding:14px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-surface);font-size:13px}
.wishes-screen #wishes-write-panel .pond-wish-form .pond-wish-hint{padding:0;border:0;background:transparent;font-size:11px}
.wishes-screen #wishes-write-panel .pond-wish-share{min-height:32px}
.wishes-screen #wishes-write-panel .pond-wish-form button[type=submit]{min-height:46px}
.wishes-screen #wishes-write-panel .pond-wish-saved{margin:2px 0;padding:14px;border-radius:10px;background:var(--ui-soft)}
.wishes-screen #wishes-write-panel .pond-wish-reply{margin:0;padding:12px 14px;border-radius:10px;background:#f1eee5;line-height:1.7}
.wishes-screen #wishes-browse-panel .wishes-tabs{margin:0 0 12px}
.wishes-screen #wishes-browse-panel .wishes-tabs button{font-size:12px}
.wishes-screen #wishes-status:empty{display:none}
.wishes-screen #wishes-status:not(:empty){margin:10px 0;padding:12px 14px;font-size:12px}
.wishes-screen #wishes-load-trigger{height:1px}
.wishes-screen .wish-history-card{margin:10px 0;padding:16px;border-radius:14px}
.wishes-screen .wish-history-card h3{margin:8px 0 3px}
.wishes-screen .wish-history-card h4{margin:13px 0 5px;padding-top:11px}
.wishes-screen .wish-history-text{font-size:18px;line-height:1.5}
.wishes-screen .wish-history-advice{font-size:13px;line-height:1.65}

.wishes-screen #wishes-write-panel{display:grid;gap:12px}.wishes-screen #wishes-write-panel[hidden]{display:none}.wishes-screen #wishes-pond{margin:0}.wishes-screen #wishes-pond .pond-quest>.asset-action:disabled{border-color:#decdbd;background:#efe4d2;color:#8a7766;cursor:default}.wishes-screen #wishes-pond .asset-status:empty{display:none}.wishes-screen #wishes-pond .asset-status:not(:empty){margin:0;padding:8px 10px;border-radius:10px;background:#fff8e9;color:#47372c;font:500 12px/1.5 var(--sans)}