/* Stick Draw (제비뽑기) — warm traditional wood/straw accent */
body[data-theme] {
    --color-primary-gradient: linear-gradient(135deg, #b45309 0%, #78350f 100%);
    --shadow-glow: 0 0 25px rgba(180, 83, 9, 0.45);
    --shadow-glow-lg: 0 0 40px rgba(180, 83, 9, 0.55);
    --accent-blue: #b45309;
}

.emoji-icon { font-size: 20px; }
.btn-add-item {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 8px; padding: 9px; border-radius: var(--radius-sm);
    border: 1px dashed var(--color-border); background: transparent;
    color: var(--text-secondary); font-size: 0.82rem; font-weight: 600; cursor: pointer;
    transition: var(--transition-fast); width: 100%;
}
.btn-add-item:hover { border-color: var(--accent-blue); color: var(--accent-blue); background: rgba(180, 83, 9, 0.08); }

/* ---------- Stick stage ---------- */
.stick-stage { flex-direction: column; position: relative; padding-bottom: 60px; }

.stick-cluster {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 220px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    z-index: 2;
}

.stick-btn {
    position: relative;
    width: 16px;
    height: 170px;
    flex: 0 0 auto;
    background: repeating-linear-gradient(90deg, rgba(104,61,18,.16) 0 1px, transparent 1px 4px), linear-gradient(90deg, #a96d2e, #f1d29a 22%, #c58a47 53%, #f0ce8f 76%, #8d541e);
    border: 1px solid #7c4a1e;
    border-radius: 8px 8px 3px 3px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    transform-origin: bottom center;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
}
.stick-btn::after { content: ''; position: absolute; inset: 7px 3px 30px; border-radius: 7px; border-left: 1px solid rgba(255,255,255,.5); border-right: 1px solid rgba(93,50,10,.2); }
.stick-btn:hover:not(.drawn) { filter: brightness(1.12); }
.stick-btn::before {
    content: '';
    position: absolute; left: 2px; right: 2px; bottom: 6px; height: 20px;
    background: rgba(255,255,255,0.35);
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.stick-btn.drawn { pointer-events: none; }
.stick-btn.drawn.safe {
    filter: brightness(0.82) saturate(0.7);
}
.stick-btn.drawn.safe::before {
    opacity: 1;
    background: linear-gradient(180deg, #86efac, #22c55e);
}
.stick-btn.drawn.marked {
    filter: none;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.6), 0 3px 6px rgba(0,0,0,0.2);
}
.stick-btn.drawn.marked::before {
    opacity: 1;
    background: linear-gradient(180deg, #fca5a5, #dc2626);
}

.stick-tag {
    position: absolute;
    top: -22px; left: 50%; transform: translateX(-50%);
    font-size: 0.62rem; font-weight: 800; white-space: nowrap;
    padding: 2px 6px; border-radius: 8px;
    opacity: 0; transition: opacity 0.3s ease 0.2s;
}
.stick-btn.drawn .stick-tag { opacity: 1; }
.stick-btn.drawn.safe .stick-tag { background: rgba(34, 197, 94, 0.18); color: #16a34a; }
.stick-btn.drawn.marked .stick-tag { background: rgba(220, 38, 38, 0.18); color: #dc2626; }

.stick-cup {
    position: relative;
    z-index: 1;
    width: min(90%, 460px);
    height: 70px;
    margin-top: -14px;
    background: repeating-linear-gradient(90deg, rgba(44,20,4,.18) 0 2px, transparent 2px 18px), linear-gradient(90deg, #743609, #bf6a18 24%, #783505 50%, #bf6a18 75%, #6b2c06);
    border: 3px solid #451a03;
    border-radius: 0 0 26px 26px;
    box-shadow: inset 0 8px 14px rgba(0,0,0,0.4), 0 10px 20px rgba(0,0,0,0.25);
}
.stick-cup::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 13px; height: 7px; border-radius: 50%; background: rgba(255,208,120,.32); filter: blur(2px); }
.stick-cup::before {
    content: '';
    position: absolute; top: -8px; left: -4px; right: -4px; height: 16px;
    background: linear-gradient(180deg, #b45309, #92400e);
    border-radius: 50%;
    border: 3px solid #451a03;
}

/* The cup becomes a small toy drum with a warm paper-tabletop backdrop. */
.stick-stage { background: radial-gradient(ellipse at 50% 94%, rgba(125, 73, 16, .18), transparent 43%), repeating-linear-gradient(90deg, rgba(151,91,27,.06) 0 2px, transparent 2px 28px), linear-gradient(180deg, #fff4dc, #f6dfb4); }
.stick-cup { border-width: 4px; background: linear-gradient(90deg, #b65728, #ef9d43 34%, #c9652b 70%, #8b3f20); box-shadow: inset 7px 4px 0 rgba(255,255,255,.25), inset -8px -4px 0 rgba(78,34,10,.14), 0 10px 0 rgba(115,52,14,.16), 0 18px 22px rgba(95,52,13,.18); }
.stick-cup::before { border-color: #7b351a; box-shadow: inset 0 5px 0 rgba(255,238,190,.25); }
.stick-btn { box-shadow: inset 3px 0 0 rgba(255,255,255,.45), inset -3px 0 0 rgba(113,60,13,.16), 0 7px 9px rgba(101,57,14,.15); }

@media (max-width: 640px) {
    .stick-cluster { height: 170px; gap: 8px; }
    .stick-btn { width: 12px; height: 130px; }
    .stick-cup { height: 54px; }
}
.game-help { margin: 0 0 28px; padding: 26px; }.game-help h2 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 16px; }.game-help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.game-help article { padding: 16px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md); background: var(--color-surface-hover); }.game-help h3 { color: var(--accent-blue); font-family: var(--font-display); font-size: 1rem; margin-bottom: 7px; }.game-help p { color: var(--text-secondary); font-size: .88rem; line-height: 1.75; }@media (max-width:720px){.game-help{padding:20px 16px}.game-help-grid{grid-template-columns:1fr}}
