/* Ink stamps belong to each participation cell, independently of full-day totals. */
.member-main .glance-cell.is-complete{display:grid;place-items:center;background:#fcfaf2;border-color:#cdd5c5;box-shadow:inset 0 1px #fff;color:#48634f}
.member-main .glance-cell .participation-stamp{display:block;width:36px;height:36px;max-width:92%;max-height:92%;object-fit:contain;transform:rotate(var(--stamp-angle,-4deg));pointer-events:none}
.member-main .glance-cell.is-complete:hover{background:#f0f3e9;border-color:#8d9f80}
#weekly-reward{margin-top:18px}
.weekly-roulette-goal{box-sizing:border-box;width:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:150px;padding:10px 24px;text-align:left;border:1px solid #ded7c8;border-radius:12px;background:linear-gradient(115deg,#f2eee3,#fcfaf3);color:#465545;box-shadow:inset 0 1px #fff;cursor:default;opacity:1}
.weekly-roulette-copy{display:flex;flex-direction:column;gap:7px;min-width:0}
.weekly-roulette-eyebrow{font:600 13px/1.5 'Gowun Dodum',sans-serif;letter-spacing:.04em;color:#8b7e67}
.weekly-roulette-copy>strong{font:700 21px/1.5 'Gowun Batang',serif;color:#48584a;word-break:keep-all}
.weekly-roulette-copy>span:not(.weekly-roulette-eyebrow){font:15px/1.6 'Gowun Dodum',sans-serif;color:#7b8173}
.weekly-roulette-copy .weekly-roulette-status{font-weight:700!important;color:#6c715f!important;margin-top:3px}
.weekly-roulette-art{display:block;width:120px;height:135px;flex:none;object-fit:contain;filter:grayscale(1);opacity:.65}
.weekly-roulette-goal.is-ready{border-color:#c4ab70;background:linear-gradient(115deg,#f1ebda,#fffaf0);cursor:pointer;box-shadow:inset 0 1px #fff,0 3px 9px #8e763316}
.weekly-roulette-goal.is-ready .weekly-roulette-art,.weekly-roulette-goal.is-claimed .weekly-roulette-art{filter:none;opacity:1}
.weekly-roulette-goal.is-ready .weekly-roulette-status{color:#8b622d!important}
.weekly-roulette-goal.is-ready:hover{border-color:#9c8042}
.weekly-roulette-goal:focus-visible{outline:2px solid #718363;outline-offset:4px}
/* One shared modal for rewards from the writing rooms and My Page. */
dialog.reward-dialog{box-sizing:border-box;position:fixed;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:30px 32px;border:1px solid #c6bda6;border-radius:16px;background:linear-gradient(145deg,#fffdf6,#f5f0e4);color:#3d4b37;text-align:center;box-shadow:0 22px 75px #25302040}
.reward-dialog::backdrop{background:#26312785;backdrop-filter:blur(5px)}
.reward-dialog .reward-close{position:absolute;right:14px;top:9px;min-height:40px;min-width:40px;padding:4px;border:0;background:none;font:28px/1 sans-serif;color:#727b66}
.reward-dialog .reward-eyebrow{font:700 10px/1.6 system-ui;letter-spacing:1.7px;color:#9a7849;margin:10px 0 16px}
.reward-dialog h2{font:700 25px/1.45 'Gowun Batang',serif;margin:0 0 8px;letter-spacing:-.04em;word-break:keep-all}
.reward-dialog #reward-visual{display:grid;place-items:center;height:260px;margin:12px 0 4px}
.reward-dialog #reward-visual>.badge-art{width:230px;height:230px;object-fit:contain}
.reward-dialog #reward-caption{font:16px/1.7 'Gowun Dodum',sans-serif;margin:12px 0;color:#6e765f;word-break:keep-all}
.reward-dialog .reward-amount{display:block;font:700 36px/1.4 system-ui;color:#876235;min-height:10px}
.reward-dialog #reward-confirm{display:block;width:100%;min-height:48px;margin-top:18px;border:0;border-radius:8px;padding:12px 16px;background:linear-gradient(#5c7254,#40573b);box-shadow:inset 0 1px #fff3,0 2px 2px #26362224;color:#fffdf5;font:700 17px/1.5 'Gowun Dodum',sans-serif}
.reward-dialog #reward-confirm:disabled{opacity:.7;cursor:wait}
.snack-wheel{width:230px;height:259px;position:relative}
.snack-wheel>svg,.snack-wheel>img{display:block;width:100%;height:100%;overflow:visible}
.snack-wheel-rotor{transition:transform 5s cubic-bezier(.12,.55,.15,1);transform-box:view-box;transform-origin:160px 160px}
@media(max-width:720px){.member-main .glance-cell .participation-stamp{width:30px;height:30px}.weekly-roulette-goal{padding:12px;gap:8px;min-height:126px}.weekly-roulette-art{width:88px;height:99px}.weekly-roulette-eyebrow{font-size:11px}.weekly-roulette-copy{gap:5px}.weekly-roulette-copy>strong{font-size:16px}.weekly-roulette-copy>span:not(.weekly-roulette-eyebrow){font-size:12px}.reward-dialog h2{font-size:23px}.reward-dialog #reward-visual{height:240px}.snack-wheel{width:214px;height:241px}}
@media(prefers-reduced-motion:reduce){.snack-wheel-rotor{transition:none}}

.member-main .weekly-roulette-goal,.member-main .weekly-roulette-goal:disabled{opacity:1;border-radius:12px;font-size:inherit;cursor:default}.member-main .weekly-roulette-goal.is-ready{cursor:pointer}.weekly-roulette-goal:disabled .weekly-roulette-art{opacity:.85}

.reward-dialog.reward-milestone #reward-amount{margin:10px 0 20px;line-height:1.5;word-break:keep-all}
.reward-milestone .milestone-reward-label{display:block;font:600 13px/1.6 system-ui;color:#786744}
.reward-milestone .milestone-reward-range{display:block;font:750 30px/1.5 system-ui;color:#45634c}
.reward-dialog.reward-milestone #reward-caption{white-space:normal;word-break:keep-all}
.reward-dialog.reward-milestone #reward-title{font-size:clamp(20px,5vw,26px);line-height:1.5;word-break:keep-all}
.reward-dialog.reward-milestone #reward-visual{height:80px;margin:8px 0}

.milestone-stamp-total{font:750 28px/1.3 system-ui;color:#45634c;padding:15px 26px;border:2px solid #8b9e7b;border-radius:50%;background:#edf1e4;letter-spacing:.02em}
