button.lcd-launch, #lcd-panel button { font-family: inherit; margin: 0; cursor: pointer; text-transform: none; letter-spacing: normal; }
button.lcd-launch {
    display: inline-flex; gap: .45em; align-items: center; justify-content: center;
    white-space: nowrap; padding: 2px 10px; min-height: 28px; min-width: 0;
    border-radius: 20px; border: 1px solid #e3cda9; background: var(--lcd-background,#fff8eb);
    color: var(--lcd-ink,#65391a); font-size: 12px; font-weight: 700; line-height: 1.4;
}
button.lcd-launch:hover { background: #faebcd; color: #442709; }
#lcd-header {
    clear: both; position: relative; isolation: isolate; overflow: hidden;
    box-sizing: border-box; width: 100%; max-width: none; margin: 0;
    grid-column: 1 / -1; flex-basis: 100%; text-align: center;
    border-block: 1px solid #b6a170;
    background: radial-gradient(ellipse at 70% 0%, #35694e, transparent 56%), #193f35;
}
#lcd-header::before, #lcd-header::after {
    content: ""; pointer-events: none; position: absolute; z-index: -1;
    top: 50%; width: 175px; height: 175px; border: 1px solid #efdaac29;
    border-radius: 35px; transform: translateY(-50%) rotate(35deg);
    box-shadow: 0 0 0 13px #ecd59d09, 0 0 0 26px #ecd59d09;
}
#lcd-header::before { left: -85px; }
#lcd-header::after { right: -85px; }
#lcd-header .lcd-launch {
    position: relative; display: inline-flex; gap: clamp(12px,2vw,24px);
    min-height: 70px; max-width: 100%; box-sizing: border-box;
    padding: 8px 18px; border: 0; border-radius: 0; background: transparent;
    color: #fffaf0; box-shadow: none; text-align: start; white-space: normal;
}
#lcd-header .lcd-launch:focus-visible { outline: 2px solid #ffe6a5; outline-offset: -3px; }
#lcd-header .lcd-mini {
    flex: none; width: 42px; height: 42px; border-radius: 11px; transform: rotate(-12deg);
    background-color: #ffe4a0; color: #493416;
    background-image: radial-gradient(circle at 27% 27%,currentColor 0 8%,transparent 9%),
        radial-gradient(circle at 73% 27%,currentColor 0 8%,transparent 9%),
        radial-gradient(circle at 50% 50%,currentColor 0 8%,transparent 9%),
        radial-gradient(circle at 27% 73%,currentColor 0 8%,transparent 9%),
        radial-gradient(circle at 73% 73%,currentColor 0 8%,transparent 9%);
    box-shadow: inset 1px 2px 2px #fff3cc, 0 3px 0 #bf9551, 0 5px 10px #09291e60;
}
#lcd-header .lcd-promo-text { display: grid; gap: 1px; }
#lcd-header .lcd-promo-text strong { font-size: clamp(16px,2vw,20px); line-height: 1.45; color: #fffaf0; }
#lcd-header .lcd-promo-text small { font-size: 12px; line-height: 1.5; color: #e6e9dc; font-weight: 400; }
#lcd-header .lcd-promo-action {
    display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
    border-radius: 999px; background: #ffe4a0; color: #302810;
    font-size: 14px; padding: 8px 16px; line-height: 1.4;
}
#lcd-header .lcd-launch:hover .lcd-promo-action { background: #fff0c7; }
@media (max-width: 480px) {
    #lcd-header .lcd-launch { width: 100%; min-height: 64px; padding-inline: 16px; gap: 12px; }
    #lcd-header .lcd-mini { width: 36px; height: 36px; }
    #lcd-header .lcd-promo-action { margin-inline-start: auto; padding: 8px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: no-preference) {
    #lcd-header .lcd-mini { transition: transform .2s ease-out; }
    #lcd-header .lcd-launch:hover .lcd-mini { transform: translateY(-2px) rotate(3deg); }
}
#lcd-panel {
    box-sizing: border-box; position: fixed; inset: 0; margin: auto;
    width: min(360px, calc(100vw - 32px)); max-height: calc(100dvh - 24px);
    overflow: auto; height: fit-content; padding: 32px 24px 24px; text-align: center;
    border: 1px solid #ded5c7; border-radius: 22px; background: #fffcf6; color: #232e29;
    box-shadow: 0 18px 70px #11282040; font-family: inherit;
}
#lcd-panel:not([open]), #lcd-panel [hidden] { display: none !important; }
#lcd-panel::backdrop { background: rgba(15,29,25,.52); }
#lcd-panel .lcd-close {
    position: absolute; top: 8px; left: 8px; width: 36px; height: 36px; padding: 0;
    border: 0; border-radius: 50%; font: 25px/1 system-ui,sans-serif;
    background: transparent; color: #49564f;
}
.lcd-art {
    display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 15px;
    background: radial-gradient(circle,#fff6d8,#f0dec0); border-radius: 50%;
}
.lcd-art span {
    display: grid; place-items: center; width: 56px; height: 56px;
    color: #ffe8ad; background: #244b3e; border-radius: 13px;
    font: 48px/1 system-ui,sans-serif; transform: rotate(-10deg); box-shadow: 0 4px 0 #183a2e;
}
#lcd-panel h2 { margin: 0 0 7px; color: #213b2d; font-weight: 700; font-family: inherit; font-size: 22px; line-height: 1.6; }
#lcd-panel p { margin: 0; font-size: 14px; line-height: 1.9; color: #505b54; }
#lcd-panel .lcd-status:not(:empty) { margin-top: 8px; }
#lcd-panel .lcd-ticket { padding: 12px; margin-top: 14px; border: 1px dashed #bb985e; border-radius: 10px; background: #fff7e7; }
#lcd-panel label { display: block; font-size: 12px; }
#lcd-panel input { display: block; box-sizing: border-box; width: 100%; margin: 3px 0 0; padding: 3px; border: 0; background: transparent; text-align: center; font: 600 18px/1.5 monospace; color: #334538; }
#lcd-panel .lcd-action { width: 100%; margin-top: 16px; padding: 10px; border: 0; border-radius: 12px; background: #244b3e; color: #fff9ec; font-size: 15px; font-weight: 700; }
#lcd-panel .lcd-action:hover { background: #173c30; }
#lcd-panel .lcd-action:disabled { opacity: .65; cursor: progress; }
#lcd-panel button:focus-visible, .lcd-launch:focus-visible { outline: 3px solid #ae761a; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
    .lcd-rolling .lcd-art span { animation: lcd-roll .45s ease-in-out infinite; }
    @keyframes lcd-roll { 50% { transform: translateY(-6px) rotate(75deg); } }
}
