/* Keep HAN's existing typography; give earned objects a quiet, tactile display. */
.reward-note{font-size:13px;line-height:1.8;color:var(--muted,#62636b);margin:12px 0}.reward-tabs{display:flex;gap:6px;overflow:auto;padding-bottom:12px}.reward-tabs .chip{flex:none;min-height:40px}.reward-wallet-line{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e8e9ee;padding:14px 0;font-size:13px}.reward-wallet-line strong{font-size:20px;font-variant-numeric:tabular-nums}.reward-inline-status:empty{display:none}.reward-inline-status{background:var(--secondary-soft);padding:12px;border-radius:12px;margin:12px 0;font-size:13px;line-height:1.7}.reward-entry{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-card);padding:10px 14px;margin:4px 0 20px}.reward-entry>div:first-child{width:86px;flex:none}.reward-entry strong{font-size:15px}.reward-entry button{margin-top:8px;min-height:40px}.reward-entry [data-reward-balance]{display:inline-block;font-size:12px;margin-left:8px}.reward-hani{display:block;position:relative;width:100%;aspect-ratio:1}.reward-hani img,.reward-clothes{display:block;width:100%;height:100%;position:absolute;inset:0}.reward-avatar{position:relative;display:inline-block;width:112px;height:112px;vertical-align:middle;flex:none}.reward-avatar>img,.reward-avatar-placeholder{position:absolute;inset:12%;width:76%;height:76%;border-radius:50%;object-fit:cover;background:var(--secondary-soft)}.reward-avatar-placeholder{display:grid;place-items:center;font-size:30px;color:#284b82;font-weight:var(--w-bold)}.reward-frame-art{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.reward-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.reward-product{display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid #e3e5ed;border-radius:var(--radius-card);padding:14px 8px;background:#fafbfd;min-width:0;text-align:center}.reward-product:focus-visible{border-color:var(--secondary);background:var(--secondary-soft)}@media(hover:hover) and (pointer:fine){.reward-product:hover{border-color:var(--secondary);background:var(--secondary-soft)}}.reward-product>.reward-hani{width:130px;max-width:100%}.reward-product>.reward-avatar{width:100px;height:100px}.reward-product strong{font-size:13px;line-height:1.5}.reward-product>span:last-child{font-size:12px;color:#5d6475}.reward-item-preview{display:flex;justify-content:center;padding:24px 0}.reward-item-preview>.reward-avatar{width:168px;height:168px}.reward-item-preview>.reward-hani{width:220px}.reward-mini{margin:14px 0}.reward-mini>.reward-avatar{width:42px;height:42px}.reward-mini .reward-avatar-placeholder{font-size:14px}.reward-mini>.reward-hani{width:100px}.profile-entry .avatar:has(.reward-avatar){overflow:visible;background:none}.profile-entry .avatar>.reward-avatar{width:60px;height:60px}.profile-entry .reward-avatar>img{width:76%;height:76%;object-fit:cover}.public-profile-photo:has(.reward-avatar){display:inline-block;width:112px;height:112px;max-width:none;overflow:visible;object-fit:initial}.reward-attendance{background:#f5f8fe;padding:20px;border-radius:var(--radius-card);margin:16px 0 24px}.reward-eyebrow{font-size:12px;color:#3560a2}.reward-attendance h3{margin:8px 0 14px}.reward-balance{font-size:32px;font-weight:var(--w-bold);font-variant-numeric:tabular-nums}.reward-balance small{display:block;font-size:12px;color:#62636b;font-weight:var(--w-regular);margin:4px 0 18px}.reward-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:12px 0}.reward-week span{display:grid;place-items:center;min-height:40px;font-size:12px;background:white;border:1px solid var(--secondary-line);border-radius:var(--radius-control);color:#596a84}.reward-week span.done{background:var(--secondary-line);border-color:var(--secondary-line);color:var(--secondary);font-weight:var(--w-bold)}.reward-attendance>.primary{margin:14px 0 10px}.reward-ledger{list-style:none;padding:0;margin:12px 0 20px}.reward-ledger li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #eceef3;font-size:13px}.reward-ledger small{display:block;font-size:var(--text-small);color:#747984;margin-top:4px}.reward-ledger strong{white-space:nowrap}.reward-bump-item{padding:18px 0;border-bottom:1px solid #e3e5ed}[data-reward-view]>.full{margin:8px 0}[data-reward-view]>h3{margin-top:12px}[data-reward-view] details{margin:20px 0;font-size:13px}[data-reward-view] .reward-hani img{object-fit:contain}
@media(max-width:420px){.reward-entry{padding:10px;gap:4px}.reward-entry>div:first-child{width:70px}.reward-entry .fieldhelp{font-size:var(--text-small)}.reward-entry strong{font-size:var(--text-control);font-weight:var(--w-strong)}.reward-entry [data-reward-balance]{margin-left:5px}.reward-grid{gap:10px}}

/* A quiet daily utility row beside the more expressive Japanese card. */
.reward-entry.reward-entry-compact{padding:9px 14px;gap:12px;border-radius:12px;min-height:64px;background:#fff;border:1px solid var(--line);box-shadow:none}
.reward-entry.reward-entry-compact>.reward-entry-copy{width:auto;min-width:0;flex:1}
.reward-entry-compact .reward-entry-heading{display:flex;align-items:center;flex-wrap:wrap;gap:3px 8px}
.reward-entry-compact .reward-entry-heading strong{font-size:calc(14px * var(--han-type-scale,1));font-weight:var(--w-strong);line-height:1.5;letter-spacing:var(--track-snug);color:#303844}
.reward-entry.reward-entry-compact [data-reward-balance]{margin:0;padding:1px 6px;border-radius:5px;background:#edf0f4;font-size:calc(12px * var(--han-type-scale,1));font-weight:var(--w-regular);line-height:1.5;color:#536176;font-variant-numeric:tabular-nums}
.reward-entry-compact [data-reward-balance]:empty{display:none}
.reward-entry.reward-entry-compact .fieldhelp{margin:3px 0 0;font-size:calc(12px * var(--han-type-scale,1));font-weight:var(--w-regular);line-height:1.5;letter-spacing:var(--track-snug);color:#657184}
.reward-entry.reward-entry-compact>.reward-entry-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-width:56px;min-height:44px;margin:0;padding:8px 4px;border:0;border-radius:var(--radius-tag);background:transparent;box-shadow:none;font-size:calc(13px * var(--han-type-scale,1));font-weight:var(--w-strong);line-height:1.5;white-space:nowrap;color:#4d5c73}
.reward-entry-compact>.reward-entry-action>span{font-family:var(--font-ko);font-size:18px;font-weight:var(--w-regular);color:#7b8798}
@media(hover:hover) and (pointer:fine){.reward-entry-compact>.reward-entry-action:hover{background:#edf1f6}}
.reward-entry-compact>.reward-entry-action:focus-visible{outline:2px solid var(--secondary);outline-offset:2px}
@media(max-width:359px){.reward-entry.reward-entry-compact{padding-left:12px;padding-right:10px;gap:8px}}

/* Attendance detail keeps one balance and puts the daily action first. */
.reward-attendance.reward-attendance-clean{background:#fff;border:1px solid var(--line);padding:20px;border-radius:var(--radius-card);margin:12px 0 24px}
.reward-attendance-clean h3{font-size:var(--text-card);line-height:var(--lh-card);margin:0 0 16px}
.reward-attendance-clean>.primary{min-height:52px;margin:0 0 20px;font-size:calc(16px * var(--han-type-scale,1));justify-content:center}
.reward-bonus-summary{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:calc(14px * var(--han-type-scale,1));line-height:1.65}
.reward-bonus-summary strong{font-weight:var(--w-strong)}.reward-bonus-summary>span{font-size:calc(12px * var(--han-type-scale,1));color:var(--muted);white-space:nowrap}
.reward-attendance-clean .reward-week{margin:12px 0 0;gap:5px}.reward-attendance-clean .reward-week span{min-height:36px;white-space:nowrap;font-size:max(12px,calc(11px * var(--han-type-scale,1)));background:var(--soft);border-color:var(--line);border-radius:var(--radius-tag)}
.reward-attendance-clean .reward-week span.done{background:var(--blue-soft);border-color:var(--secondary-line);color:var(--blue)}
[data-reward-view] .reward-attendance-guide>summary{cursor:pointer;min-height:44px;font-size:calc(14px * var(--han-type-scale,1));padding:10px 0;color:var(--muted)}
.reward-attendance-guide .reward-note{font-size:calc(14px * var(--han-type-scale,1));line-height:1.75}
@media(max-width:359px){.reward-attendance.reward-attendance-clean{padding:16px}.reward-bonus-summary{flex-wrap:wrap}.reward-attendance-clean .reward-week{gap:3px}}
.reward-frame-spark{transform-box:fill-box;transform-origin:center;animation:reward-spark 2.4s ease-in-out 3}
@keyframes reward-spark{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.72)}}
@media (prefers-reduced-motion:reduce){.reward-frame-spark{animation:none}}
/* 프레임이 없으면 링 자리를 비우지 않고 사진(또는 기본 글자)이 원을 꽉 채운다. 프레임이 있을 때만 링 안쪽(76%)을 채운다. */
.reward-avatar.is-plain>img,.reward-avatar.is-plain>.reward-avatar-placeholder,.profile-entry .reward-avatar.is-plain>img{inset:0;width:100%;height:100%;object-fit:cover}

/* 자동 출석: 오늘 이미 출석했으면 버튼 대신 한 줄 표시 */
.reward-checked{margin:0;padding:12px 0;font-size:var(--text-control);font-weight:var(--w-strong,600);color:var(--ink)}
