/* Little Hanniel bottle return — extras on top of /gift/gift.css. */

/* Icons (recycle/icons.js): one line style, one colour. Emphasis = size + soft badge. */

.gcard[data-theme="bottle"] { --c1: #E6F2EA; --c2: #7FB596; --ink: #12301F; --sub: #2F6646; --dot: rgba(18, 48, 31, 0.16); }
.gcard[data-theme="bottle"] .gcard__back { background: linear-gradient(140deg, #1F4A33, #12301F); --ink: #E6F2EA; --sub: #A8D5B8; color: #E6F2EA; }

.rc-hero { text-align: center; padding: 18px 0 6px; }
.rc-hero__icon { margin-bottom: 10px; }
.rc-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.rc-rule { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 8px; text-align: center; font-size: 12px; color: var(--text-secondary); }
.rc-rule .ic-badge { width: 40px; height: 40px; margin-bottom: 6px; }

.rc-community { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--bg-subtle); color: var(--text-strong); margin: 14px 0; }
.rc-community b { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1; }
.rc-community span { font-size: 13px; color: var(--text-secondary); }

.rc-back { display: flex; flex-direction: column; justify-content: center; gap: 8px; text-align: left; width: 100%; }
.rc-back__big { font-family: var(--font-display); font-size: 40px; line-height: 1; }
.rc-back__row { font-size: 13px; color: var(--sub); }
.rc-back .stamps { grid-template-columns: repeat(5, 1fr); margin: 4px 0; max-width: 240px; }
.rc-back .stamp { background: rgba(255, 255, 255, 0.06); border-color: rgba(230, 242, 234, 0.35); }
.rc-back .stamp.is-filled { background: rgba(230, 242, 234, 0.92); border-color: transparent; }
.rc-back .stamp .ic { width: 55%; height: 55%; color: #12301F; }

.stamps--5 { grid-template-columns: repeat(5, 1fr); max-width: 320px; margin-left: auto; margin-right: auto; }
.stamp .ic { width: 50%; height: 50%; }
.stamp.is-bottle { border-style: solid; border-color: var(--accent-soft); background: var(--accent-soft); animation: pop 0.45s var(--ease-spring) both; }
.stamp.is-bottle .ic { color: var(--accent-hover); }
.stamp.is-new { animation: pop 0.6s var(--ease-spring) both; box-shadow: 0 0 0 4px rgba(212, 162, 76, 0.3); }

.rc-progress { text-align: center; }
.rc-progress__big { font-family: var(--font-display); font-size: 22px; color: var(--text-strong); margin: 0; }
.rc-progress .muted { margin: 4px 0 0; font-size: 13px; }

.rc-rewards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.rc-reward {
  text-align: left; padding: 14px; border-radius: var(--radius-md); border: 1.5px solid var(--border-strong);
  background: var(--surface); transition: transform 0.2s var(--ease-spring), border-color 0.2s;
}
.rc-reward:active { transform: scale(0.96); }
.rc-reward:not(:disabled) { border-color: var(--gold); box-shadow: 0 6px 18px rgba(212, 162, 76, 0.22); }
.rc-reward:disabled { opacity: 0.55; cursor: not-allowed; }
.rc-reward .ic-badge { width: 40px; height: 40px; margin-bottom: 8px; }
.rc-reward:disabled .ic-badge { background: var(--bg-subtle); color: var(--text-muted); }
.rc-reward:not(:disabled) .ic-badge { background: var(--gold-soft); color: #8A6420; }
.rc-reward b { display: block; font-size: 14px; color: var(--text-strong); }
.rc-reward span { font-size: 12px; color: var(--text-muted); }

.rc-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rc-code b { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 24px; letter-spacing: 0.12em; color: var(--text-strong); }

.rc-list { list-style: none; margin: 0; padding: 0; }
.rc-list li > span:first-child { display: flex; gap: 10px; align-items: flex-start; }
.rc-list li > span:first-child > .ic { margin-top: 2px; }
.rc-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.rc-list li:last-child { border-bottom: 0; }
.rc-list small { color: var(--text-muted); font-size: 12px; }
.rc-pill { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--bg-subtle); color: var(--text-secondary); white-space: nowrap; }
.rc-pill--ok { background: var(--accent-soft); color: var(--accent-hover); }
.rc-pill--wait { background: var(--gold-soft); color: #7A5A1E; }

.rc-share { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* dashboard */
.db-grid { display: grid; gap: 14px; }
.db-card { display: block; text-decoration: none; color: inherit; padding: 18px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease-spring), box-shadow 0.25s; }
.db-card:active { transform: scale(0.98); }
.db-card:hover { box-shadow: var(--shadow-md); }
.db-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.db-card__head h2 { margin: 0; }
.db-card__go { font-size: 13px; font-weight: 700; color: var(--accent-hover); }
.db-card__head h2 { display: flex; align-items: center; gap: 10px; }
.db-card__head .ic-badge { width: 36px; height: 36px; }
.db-card__head .ic-badge .ic { width: 18px; height: 18px; }
.db-note { display: flex; align-items: center; gap: 10px; margin: 0; }
.db-card .stats { margin: 0 0 12px; }
.db-card .bar > i { width: 0; transition: width 1s var(--ease-out); }
.empty .ic-badge { margin-bottom: 8px; }

/* staff */
.st-row { display: flex; gap: 8px; }
.st-row .input { flex: 1; text-transform: uppercase; letter-spacing: 0.1em; }
.st-big { font-family: var(--font-display); font-size: 40px; color: var(--text-strong); line-height: 1; }

/* dashboard: up next, empty states, account */
.db-next { display: block; margin: 6px 0 16px; padding: 16px 18px 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform 0.25s var(--ease-spring); }
.db-next:active { transform: scale(0.98); }
.db-next.is-gold { background: linear-gradient(140deg, #FFF8EA, var(--gold-soft)); border-color: #EBD39F; box-shadow: 0 10px 28px rgba(212, 162, 76, 0.2); }
.db-next__row { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 14px; }
.db-next__row b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.2; color: var(--text-strong); }
.db-next__row span:not(.ic-badge) { display: block; font-size: 14px; color: var(--text-secondary); margin-top: 2px; }
.db-next .btn { width: auto; }
.db-card__go { display: inline-flex; align-items: center; gap: 4px; }
.db-card__go .ic { width: 15px; height: 15px; color: currentColor; }
.db-empty { margin: 0 0 4px; font-size: 14px; color: var(--text-secondary); }
.db-foot { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 12px; color: var(--text-muted); }
.db-foot b { color: var(--text-secondary); }
.db-account { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--bg-subtle); }
.db-account > div { flex: 1; min-width: 0; }
.db-account b { display: block; font-size: 14px; color: var(--text-strong); }
.db-account span:not(.ic-badge) { font-size: 12px; color: var(--text-muted); }
.db-account .ic-badge { width: 38px; height: 38px; }
.db-account .ic-badge .ic { width: 18px; height: 18px; }
.db-account .btn { width: auto; }
.db-account .linkbtn { font-size: 12px; font-weight: 500; margin-left: 4px; }
.db-rename { margin-top: 10px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--bg-subtle); }
.db-rename .rc-share { justify-content: flex-start; }
.rc-back__row b { font-weight: 700; }

/* /dashboard "Recent activity" */
.db-activity { margin: 18px 0 0; padding: 16px 18px 6px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.db-activity h2 { margin: 0 0 6px; }
.db-activity ul { list-style: none; margin: 0; padding: 0; }
.db-activity li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 14px; }
.db-activity li:first-child { border-top: 0; }
.db-activity .ic-badge { width: 32px; height: 32px; flex: none; }
.db-activity .ic-badge .ic { width: 16px; height: 16px; }
.db-activity__text { flex: 1; min-width: 0; color: var(--text-secondary); overflow-wrap: anywhere; }
.db-activity__text b { color: var(--text-strong); font-weight: 600; }
.db-activity time { flex: none; font-size: 12.5px; color: var(--text-muted); }
