/* 잔향 UI 2 — 어두운 판 + 금장 (2부 마무리, docs/06_UI_UX_개선.md)
   원칙: ① 불투명한 흰 상자를 없앤다. HUD의 글은 장면 위에 그림자와 함께 얹는다 ② 판이 필요한 곳은 어두운 남색 + 가는 금선
   ③ 희귀도는 타일의 색과 빛으로 ④ 누르는 것은 아이콘 ⑤ 도시와 문 안은 같은 틀, 강조색만 다르다(도시 파랑 · 문 안 금) */
.theme-city, .theme-gate { --bg: rgba(13,17,32,.95); --ink: #e8ecf8; --sub: #98a2c4; --line: rgba(201,171,98,.34); --card: rgba(26,32,56,.82); --rad: 8px; --head: var(--serif); --shadow: 0 10px 34px rgba(0,0,0,.55); --gold: #e0b44c; --gold2: #8a6a22; }
.theme-city { --acc: #5aa9ff; --acc2: #8fd0ff; } .theme-gate { --acc: #e0b44c; --acc2: #6fe0cc; }
body { color: var(--ink); }
button { background: linear-gradient(#232b4a, #151a2e); border: 1px solid rgba(201,171,98,.5); color: #e8ecf8; border-radius: 6px; text-shadow: 0 1px 1px #000; transition: border-color .12s, box-shadow .12s; }
button:hover { filter: none; border-color: #ffe2a0; box-shadow: 0 0 10px rgba(255,217,138,.35); }
button.primary { background: linear-gradient(#f3d584, #b98a1c); color: #1c1404; border-color: #ffe9a8; text-shadow: none; font-weight: 900; }
button.on { background: linear-gradient(#4a94ff, #2358c8); border-color: #a8d2ff; color: #fff; }
button:disabled { opacity: .38; box-shadow: none; border-color: rgba(201,171,98,.25); }
::-webkit-scrollbar { width: 9px; height: 9px; } ::-webkit-scrollbar-track { background: rgba(0,0,0,.3); border-radius: 5px; } ::-webkit-scrollbar-thumb { background: linear-gradient(#8a6a22, #5a4416); border-radius: 5px; border: 1px solid rgba(0,0,0,.5); }

/* ---------- HUD: 상자 없이 ---------- */
#zoneBox, #feedBox, #roomBox, #questBox, #party > div, #chat, #menu, #prompt, #castBar { background: none; border: 0; box-shadow: none; border-radius: 0; }
#top { display: contents; }
#zoneBox, #feedBox, #roomBox { position: fixed; z-index: 5; }
#zoneBox { right: 8px; top: 196px; width: 198px; text-align: center; padding: 0; text-shadow: 0 1px 3px #000, 0 0 6px #000; }
#zoneBox b { display: block; margin: 0; font-size: 15.5px; letter-spacing: 1px; color: #f6e7b8; } #online { font-size: 10.5px; color: #b9c2e0; }
#feedBox { left: 50%; top: 8px; transform: translateX(-50%); padding: 3px 22px; max-width: 46vw; font-size: 12px; color: #dfe6ff; text-align: center; background: linear-gradient(90deg, transparent, rgba(8,10,22,.6) 15%, rgba(8,10,22,.6) 85%, transparent); text-shadow: 0 1px 2px #000; max-height: 22px; }
#roomBox { left: 50%; top: 92px; transform: translateX(-50%); padding: 3px 26px; color: #f6e7b8; font-size: 15px; letter-spacing: 1px; text-shadow: 0 1px 3px #000; background: linear-gradient(90deg, transparent, rgba(8,10,22,.6) 15%, rgba(8,10,22,.6) 85%, transparent); }
body:has(#bossBar:not(.hidden)) #feedBox { display: none; }
#unit { left: 12px; top: 10px; display: flex; align-items: center; gap: 8px; }
#unit .pt { position: relative; width: 74px; height: 74px; flex: none; }
#unit .pt i { position: absolute; inset: 7px; border-radius: 50%; background: #0b0e1c center / cover; }
#unit .pt u { position: absolute; inset: -3px; border-radius: 50%; background: url(../assets/img/ui/ring.jpg) center / cover; mix-blend-mode: screen; }
#unit .pt em { position: absolute; right: -4px; bottom: -2px; min-width: 26px; height: 26px; border-radius: 13px; background: linear-gradient(#2a3358, #131830); border: 1px solid #e0b44c; color: #ffe9a8; font: 900 13px/24px var(--font); text-align: center; padding: 0 4px; font-style: normal; }
#unit .nm { text-shadow: 0 1px 3px #000, 0 0 6px #000; line-height: 1.25; } #unit .nm b { font-size: 16px; font-family: var(--head); letter-spacing: .5px; display: block; } #unit .nm span { font-size: 11.5px; color: #cfd8f6; } #unit .nm span b { display: inline; font-size: 12px; color: #ffd76a; font-family: var(--font); }
#party { left: 14px; top: 96px; width: 178px; gap: 4px; }
#party > div { padding: 3px 8px 4px 10px; font-size: 12px; background: linear-gradient(90deg, rgba(8,10,22,.72), rgba(8,10,22,.12)); border-left: 3px solid var(--acc); text-shadow: 0 1px 2px #000; } #party .bar { height: 6px; border-radius: 3px; } #party > div:last-child { background: none; border: 0; padding-left: 0; }
#mini { right: 22px; top: 12px; width: 170px; height: 170px; border-radius: 50%; border: 0; background: #0b0f1e; box-shadow: 0 6px 20px rgba(0,0,0,.6); }
#miniRing { right: 9px; top: -1px; width: 196px; height: 196px; border-radius: 50%; background: url(../assets/img/ui/ring.jpg) center / cover; mix-blend-mode: screen; pointer-events: none; }
#questBox { right: 10px; top: 240px; width: 236px; padding: 6px 10px 8px 16px; font-size: 12.5px; color: #e8ecf8; text-shadow: 0 1px 2px #000, 0 0 4px #000; background: linear-gradient(90deg, transparent, rgba(8,10,22,.5) 30%); border-right: 2px solid rgba(224,180,76,.6); }
#questBox h4 { color: #ffd76a; font-size: 14.5px; letter-spacing: .5px; padding-bottom: 3px; margin-bottom: 4px; border-bottom: 1px solid; border-image: linear-gradient(90deg, transparent, rgba(224,180,76,.8)) 1; }
#questBox .d { color: #c3cbe6; } #questBox .d.done { color: #7dff9a; } #questBox .near { border-top: 1px solid rgba(224,180,76,.25); color: #aab3d2; } #questBox .near b { color: var(--acc2); } #questBox .pat.seen { color: #e8ecf8; } #questBox .pat.unseen { color: #8c94b4; }
#prompt { bottom: 200px; padding: 7px 18px 7px 8px; font-size: 15px; background: linear-gradient(#1c2340, #0e1224); border: 1px solid rgba(224,180,76,.7); border-radius: 22px; box-shadow: 0 6px 18px rgba(0,0,0,.5); color: #fff; }
#prompt b { background: linear-gradient(#f3d584, #b98a1c); color: #1c1404; border-radius: 50%; width: 26px; height: 26px; display: inline-block; text-align: center; line-height: 26px; padding: 0; margin-right: 10px; }
#castBar { background: linear-gradient(#1c2340, #0e1224); border: 1px solid rgba(224,180,76,.5); border-radius: 8px; color: #fff; }
#toasts div { background: linear-gradient(90deg, rgba(14,18,36,.94), rgba(14,18,36,.7)); border: 0; border-left: 4px solid var(--acc); border-radius: 4px; color: #eef2ff; text-shadow: 0 1px 2px #000; }
.lab .say { background: rgba(10,13,28,.9); color: #fff; border: 1px solid rgba(224,180,76,.45); }
/* 메뉴: 아이콘 단추 */
#menu { right: 12px; bottom: 12px; padding: 0; gap: 6px; max-width: none; flex-wrap: nowrap; }
#menu button { position: relative; width: 48px; height: 48px; padding: 0; border-radius: 10px; border: 1px solid rgba(224,180,76,.55); background: #0e1224 center / cover; box-shadow: 0 4px 12px rgba(0,0,0,.5); font-size: 0; overflow: visible; }
#menu button kbd { position: absolute; right: -4px; top: -6px; min-width: 18px; height: 18px; border-radius: 9px; background: #0b0e1c; border: 1px solid #e0b44c; color: #ffe9a8; font: 900 10.5px/16px var(--font); padding: 0 3px; }
#menu button span { position: absolute; left: 50%; bottom: 112%; transform: translateX(-50%); background: rgba(10,13,28,.94); border: 1px solid rgba(224,180,76,.5); border-radius: 6px; padding: 3px 9px; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; }
#menu button:hover span { opacity: 1; } #menu button:hover { transform: translateY(-2px); }
/* 채팅: 장면 위에 얹고, 조용하면 흐려진다 */
#chat { left: 10px; bottom: 10px; width: 380px; padding: 0; transition: opacity .5s; }
#chat.idle { opacity: .5; } #chat:hover, #chat:focus-within { opacity: 1; }
#chatTabs { display: flex; gap: 2px; margin-bottom: 2px; } #chatTabs button { font-size: 11.5px; padding: 3px 11px; border-radius: 6px 6px 0 0; border-bottom: 0; background: rgba(10,13,28,.6); border-color: rgba(224,180,76,.3); color: #aab3d2; position: relative; }
#chatTabs button.on { background: rgba(16,20,40,.92); color: #ffe9a8; border-color: rgba(224,180,76,.7); } #chatTabs button i { position: absolute; right: 2px; top: 1px; width: 7px; height: 7px; border-radius: 50%; background: #ff6a5a; display: none; } #chatTabs button.new i { display: block; }
#chatHead { display: none; }
#chatLog { height: 138px; padding: 6px 9px; font-size: 13px; color: #eef2ff; text-shadow: 0 1px 2px #000, 0 0 3px #000; background: linear-gradient(rgba(8,10,22,.32), rgba(8,10,22,.6)); border-left: 2px solid rgba(224,180,76,.5); }
#chatLog b { color: #cfe0ff; } #chatLog .ai b { color: #7ff0e4; } #chatLog .sys { color: #b9c2e0; font-style: italic; } #chatLog .pt, #chatLog .pt b { color: #c9a8ff; } #chatLog .all, #chatLog .all b { color: #ffc27a; } #chatLog .me b { color: #ffe9a8; } #chatLog time { color: #7d86a8; font-size: 10.5px; margin-right: 5px; }
#chatIn { margin-top: 0; background: rgba(8,10,22,.78); border: 0; border-left: 2px solid rgba(224,180,76,.5); border-top: 1px solid rgba(224,180,76,.25); border-radius: 0; color: #fff; padding: 6px 9px; } #chatIn::placeholder { color: #7d86a8; } #chatIn:focus { outline: 1px solid rgba(224,180,76,.8); background: rgba(8,10,22,.95); }

/* ---------- 창 ---------- */
#win { background: rgba(4,6,14,.62); backdrop-filter: blur(3px); }
#winCard { position: relative; background: radial-gradient(120% 90% at 50% 0%, #1c2442, #0d1122 62%); border: 1px solid #8a6a22; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.85), inset 0 0 0 2px rgba(224,180,76,.22), 0 30px 90px rgba(0,0,0,.8); }
.theme-gate #winCard { border: 1px solid #8a6a22; outline: 0; }
#winCard .orn { position: absolute; width: 92px; height: 92px; background: url(../assets/img/ui/corner.jpg) left top / 100% no-repeat; mix-blend-mode: screen; pointer-events: none; opacity: .9; }
#winCard .orn.tl { left: -3px; top: -3px; } #winCard .orn.tr { right: -3px; top: -3px; transform: scaleX(-1); } #winCard .orn.bl { left: -3px; bottom: -3px; transform: scaleY(-1); } #winCard .orn.br { right: -3px; bottom: -3px; transform: scale(-1); }
#winHead { position: relative; justify-content: center; border-bottom: 0; padding: 20px 18px 16px; }
#winHead::before { content: ''; position: absolute; left: 50%; top: 3px; width: 640px; max-width: 92%; height: 66px; transform: translateX(-50%); background: url(../assets/img/ui/header.jpg) center / 640px 248px no-repeat; mix-blend-mode: screen; opacity: .95; }
#winTitle { position: relative; font-size: 18px; letter-spacing: 2.5px; color: #f6e7b8; text-shadow: 0 2px 3px #000; }
#winX { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; padding: 0; border-radius: 6px; background: linear-gradient(#7a2a24, #40120f); border-color: #c98a6a; color: #ffd9c9; font-size: 15px; z-index: 2; }
#winBody { padding: 6px 22px 22px; color: #dfe5f6; }
.boxc { background: linear-gradient(rgba(30,37,66,.78), rgba(18,22,42,.78)); border: 1px solid rgba(201,171,98,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.boxc h4 { color: #f6e7b8; letter-spacing: 1px; font-size: 15px; padding-bottom: 6px; margin-bottom: 8px; border-bottom: 1px solid; border-image: linear-gradient(90deg, rgba(224,180,76,.8), transparent) 1; } .boxc h4 small { color: #98a2c4; font-family: var(--font); letter-spacing: 0; font-weight: 500; }
table.t td, table.t th { border-bottom-color: rgba(201,171,98,.16); } table.t th { color: #c9ab62; } table.t tr:hover td { background: rgba(255,255,255,.03); }
.track { background: rgba(0,0,0,.45); } .track i { background: linear-gradient(90deg, #2f6bff, #7fd0ff); } .track em { background: #ffe9a8; }
.sch { background: linear-gradient(#1e2544, #141930); } .sch.on { background: linear-gradient(#3a4a8a, #232e5c); border-color: #ffe2a0; color: #fff; } .sch.on small, .sch small { color: #b9c2e0; }
.skrow { border-bottom-color: rgba(201,171,98,.16); } .skn { background-size: 48px 48px; } .skn b { color: #fff; }
img.ico { border-color: rgba(224,180,76,.5); }
#tip { background: linear-gradient(#1a2140, #0b0e1c); border: 1px solid #8a6a22; box-shadow: 0 12px 30px rgba(0,0,0,.7), inset 0 0 0 1px rgba(0,0,0,.8); border-radius: 8px; padding: 0; max-width: 320px; overflow: hidden; color: #dfe5f6; }
#tip .th { padding: 8px 12px 7px; border-bottom: 1px solid rgba(201,171,98,.3); background: linear-gradient(90deg, var(--rc, #3a4468), transparent); } #tip .th b { font-size: 15px; display: block; text-shadow: 0 1px 2px #000; } #tip .th small { color: #cfd6ec; }
#tip .tb { padding: 8px 12px 10px; } #tip .tb .base { font-size: 15px; font-weight: 900; color: #fff; } #tip .cmp { margin-top: 6px; padding-top: 6px; border-top: 1px dashed rgba(201,171,98,.3); font-size: 12px; } #tip .up, .cmpv .up { color: #7dff9a; } #tip .dn, .cmpv .dn { color: #ff7a6a; }
#tip > b, #tip > span, #tip:not(:has(.th)) { } #tip.plain { padding: 9px 12px; }
/* 사람(NPC) 머리말 */
.npcHead { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; padding: 10px 14px; background: linear-gradient(90deg, rgba(30,37,66,.9), rgba(18,22,42,.3)); border: 1px solid rgba(201,171,98,.28); border-radius: 8px; }
.npcHead img { width: 92px; height: 92px; border-radius: 50%; border: 2px solid #e0b44c; box-shadow: 0 0 0 3px rgba(0,0,0,.6), 0 6px 16px rgba(0,0,0,.6); object-fit: cover; flex: none; } .npcHead b { font-family: var(--head); font-size: 19px; color: #f6e7b8; letter-spacing: 1px; } .npcHead small { color: #98a2c4; margin-left: 8px; } .npcHead p { margin: 5px 0 0; font-size: 14.5px; color: #eef2ff; } .npcHead .em { margin-left: auto; text-align: right; font-size: 12px; color: #98a2c4; } .npcHead .em b { display: block; font-size: 20px; color: #ffb45a; font-family: var(--font); }

/* ---------- 장비창: 인형 + 가방 ---------- */
.equip { display: grid; grid-template-columns: 392px minmax(0, 1fr); gap: 16px; }
.doll { position: relative; height: 430px; border-radius: 10px; border: 1px solid rgba(201,171,98,.4); box-shadow: inset 0 0 40px rgba(0,0,0,.55); overflow: hidden; }
.doll .hole { position: absolute; left: 84px; right: 84px; top: 0; bottom: 0; cursor: grab; } .doll .hole:active { cursor: grabbing; }
.doll .side { position: absolute; top: 0; bottom: 0; width: 84px; background: linear-gradient(rgba(16,20,40,.96), rgba(10,13,28,.96)); display: flex; flex-direction: column; justify-content: center; gap: 12px; align-items: center; } .doll .side.l { left: 0; border-right: 1px solid rgba(201,171,98,.25); } .doll .side.r { right: 0; border-left: 1px solid rgba(201,171,98,.25); }
.doll .cap { position: absolute; left: 84px; right: 84px; bottom: 0; text-align: center; padding: 22px 6px 9px; background: linear-gradient(transparent, rgba(6,8,18,.92)); pointer-events: none; text-shadow: 0 1px 3px #000; } .doll .cap b { font-family: var(--head); font-size: 18px; color: #f6e7b8; letter-spacing: 1px; } .doll .cap small { display: block; color: #b9c2e0; margin-top: 2px; }
.doll .hint { position: absolute; left: 84px; right: 84px; top: 8px; text-align: center; font-size: 11px; color: rgba(255,255,255,.55); pointer-events: none; }
.slot { position: relative; width: 66px; height: 66px; border-radius: 8px; border: 2px solid #343d62; background: #0b0e1c url(../assets/img/ui/slot.jpg) center / 108%; cursor: pointer; overflow: hidden; }
.slot .ic, .it .ic { position: absolute; inset: 0; background: center / cover; } .slot small { position: absolute; left: 0; right: 0; bottom: 3px; text-align: center; font-size: 10.5px; color: #6f7898; } .slot.has small { display: none; }
.slot .up, .it .up { position: absolute; left: 3px; bottom: 1px; font-size: 11px; font-weight: 900; color: #ffd76a; text-shadow: 0 1px 2px #000, 0 0 3px #000; } .slot .lv, .it .lv { position: absolute; right: 3px; top: 1px; font-size: 10px; font-weight: 800; color: #dfe5f6; text-shadow: 0 1px 2px #000, 0 0 3px #000; }
.slot.sel, .it.sel { outline: 2px solid #fff; outline-offset: 1px; }
.statline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; } .statline div { background: linear-gradient(rgba(30,37,66,.78), rgba(18,22,42,.78)); border: 1px solid rgba(201,171,98,.22); border-radius: 6px; padding: 5px 8px; font-size: 11.5px; color: #98a2c4; } .statline b { display: block; font-size: 17px; color: #fff; font-weight: 900; }
.bagTabs { display: flex; gap: 4px; margin-bottom: 8px; align-items: center; } .bagTabs button { padding: 4px 12px; font-size: 12.5px; } .bagTabs .sp { margin-left: auto; color: #98a2c4; font-size: 12.5px; display: flex; align-items: center; gap: 6px; } .bagTabs .sp img { width: 22px; height: 22px; border-radius: 50%; } .bagTabs .sp b { color: #ffb45a; font-size: 15px; }
.items { grid-template-columns: repeat(8, 1fr); gap: 6px; }
.it { border-radius: 8px; border: 2px solid #2a3252; background: #0b0e1c url(../assets/img/ui/slot.jpg) center / 108%; padding: 0; overflow: hidden; font-size: 0; cursor: pointer; aspect-ratio: 1; }
.it .inm { display: none; } .it.eq::after { display: none; }
.r0 { border-color: #7d869a !important; } .r1 { border-color: #3fbf5a !important; box-shadow: inset 0 0 12px rgba(63,191,90,.45); } .r2 { border-color: #3f8cff !important; box-shadow: inset 0 0 12px rgba(63,140,255,.5); } .r3 { border-color: #a55cff !important; box-shadow: inset 0 0 14px rgba(165,92,255,.55), 0 0 8px rgba(165,92,255,.4); } .r4 { border-color: #f2b632 !important; box-shadow: inset 0 0 16px rgba(242,182,50,.6), 0 0 10px rgba(242,182,50,.55); background-color: #2a1e06; }
.r1 .ic, .r2 .ic, .r3 .ic, .r4 .ic { mix-blend-mode: normal; }
.it.better::before { content: '▲'; position: absolute; right: 2px; bottom: 1px; color: #7dff9a; font-size: 11px; text-shadow: 0 1px 2px #000; z-index: 2; }
.detail { margin-top: 10px; min-height: 126px; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 10px 12px; background: linear-gradient(rgba(30,37,66,.78), rgba(18,22,42,.78)); border: 1px solid rgba(201,171,98,.28); border-radius: 8px; }
.detail .big { width: 84px; height: 84px; border-radius: 10px; border: 2px solid #343d62; background: #0b0e1c center / cover; } .detail h5 { margin: 0 0 2px; font-size: 16px; font-family: var(--head); letter-spacing: .5px; } .detail .meta { font-size: 12px; color: #98a2c4; } .detail .base { font-size: 15px; font-weight: 900; color: #fff; margin-top: 3px; } .detail .o { color: #8fd0ff; font-size: 12.5px; } .detail .p { color: #ffb86a; font-size: 12.5px; } .detail .cmpv { font-size: 12.5px; margin-top: 4px; color: #98a2c4; } .detail .act { display: flex; flex-direction: column; gap: 6px; min-width: 150px; } .detail .act button { padding: 8px 12px; }
.consRow { display: flex; gap: 8px; margin-top: 10px; align-items: center; font-size: 12px; color: #98a2c4; flex-wrap: wrap; } .consRow .c { display: flex; align-items: center; gap: 5px; background: rgba(0,0,0,.3); border: 1px solid rgba(201,171,98,.22); border-radius: 18px; padding: 2px 10px 2px 3px; color: #dfe5f6; } .consRow .c img { width: 26px; height: 26px; border-radius: 50%; } .consRow .c b { color: #fff; }
/* 설정 */
.setrow { display: grid; grid-template-columns: 150px 1fr 60px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(201,171,98,.16); } .setrow input[type=range] { width: 100%; accent-color: #e0b44c; } .setrow b { color: #f6e7b8; }
#gateCard { background: linear-gradient(#1a2140, #0b0e1c); border-color: #8a6a22; box-shadow: 0 0 0 1px rgba(0,0,0,.8) inset, 0 0 26px rgba(111,208,255,.35), 0 10px 30px rgba(0,0,0,.6); } #gateCard kbd { background: linear-gradient(#f3d584, #b98a1c); color: #1c1404; border-radius: 50%; width: 24px; height: 24px; display: inline-block; text-align: center; line-height: 24px; padding: 0; font-weight: 900; }
#sceneCard { background: linear-gradient(rgba(16,20,40,.95), rgba(8,10,22,.95)); border: 1px solid #8a6a22; box-shadow: 0 16px 50px rgba(0,0,0,.7); font-family: var(--font); } #sceneCard b { font-family: var(--head); letter-spacing: 1px; }
.result .time { color: #ffe9a8; text-shadow: 0 0 18px rgba(255,180,40,.6); }
.doll canvas.hole { width: calc(100% - 168px); height: 100%; display: block; }
#menu { flex-wrap: wrap; max-width: 270px; justify-content: flex-end; gap: 7px 6px; } #menu button { width: 46px; height: 46px; }
#questBox { top: 252px; } #online { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

#guideLine { position: fixed; z-index: 5; right: 10px; top: 234px; width: 236px; padding: 2px 10px 2px 16px; font-size: 12.5px; color: #ffe9a8; text-shadow: 0 1px 2px #000, 0 0 4px #000; text-align: right; } #guideLine i { display: inline-block; font-style: normal; color: #ffe27a; margin-right: 4px; } #guideLine b { color: #fff; margin-left: 4px; }
#zoneBox { right: 2px; width: 212px; } #zoneBox b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .5px; }
#menu button.new::after { content: ''; position: absolute; left: -4px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #ff5a4a; border: 2px solid #0b0e1c; box-shadow: 0 0 8px #ff5a4a; animation: mdot 1.2s infinite; } @keyframes mdot { 50% { transform: scale(1.25); } }
