/* 钓鱼 / 商店 / 图鉴 / 联机界面 */
.pill { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(6px); }
#purse { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; align-items: center; }
#hud .bar { flex-wrap: wrap; max-width: calc(100vw - 290px); }
#money { color: #ffe7a8; font-weight: 600; }
#lv { display: flex; align-items: center; gap: 7px; pointer-events: auto; cursor: default; }
#lv b { color: #bfe0ff; font-size: 13px; }
.xpbar { display: inline-block; width: 64px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.xpbar i { display: block; height: 100%; background: linear-gradient(90deg, #8fd0ff, #c8a0ff); }
#online { position: absolute; top: 52px; right: 14px; font-size: 12px; line-height: 1.6; padding: 8px 12px; border-radius: 10px; background: var(--glass); text-align: right; }
#fish-hud { position: absolute; right: 14px; bottom: 14px; max-width: min(460px, calc(100vw - 28px)); font-size: 13px; line-height: 1.6; padding: 8px 12px; border-radius: 10px; background: var(--glass); text-align: right; }
#fish-hud em { color: #ff9a9a; font-style: normal; }
#fish-hud .keys { display: block; font-size: 11px; opacity: 0.75; }
#fish-msg { position: absolute; left: 50%; bottom: 24%; transform: translateX(-50%); font-size: 14px; text-shadow: 0 1px 4px #000; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }
#power { position: absolute; left: calc(50% + 46px); top: 50%; width: 12px; height: 130px; transform: translateY(-50%); border-radius: 6px; background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.4); overflow: hidden; }
#power div { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, #8fd0ff, #f4a7bb 60%, #ff6a6a); }
#bite { position: absolute; left: 50%; top: 38%; min-width: 64px; height: 64px; padding: 0 14px; transform: translateX(-50%); border-radius: 32px; background: #e83a2a; color: #fff; font-size: 34px; font-weight: 800; text-align: center; line-height: 64px; box-shadow: 0 0 24px rgba(232, 58, 42, 0.8); animation: pulse2 0.35s infinite alternate; white-space: nowrap; }
#bite.wait { background: #c8902a; box-shadow: 0 0 18px rgba(200, 144, 42, 0.7); animation: none; opacity: 0.9; }
@keyframes pulse2 { to { transform: translateX(-50%) scale(1.15); } }
@keyframes pulse { to { transform: scale(1.18); } }
#fight { position: absolute; left: 50%; bottom: 15%; transform: translateX(-50%); width: min(380px, calc(100vw - 32px)); padding: 10px 14px; border-radius: 12px; background: var(--glass); }
#fight .row { display: flex; align-items: center; gap: 10px; font-size: 12px; margin: 4px 0; }
#fight .row span { width: 32px; opacity: 0.8; }
.meter { flex: 1; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); position: relative; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 6px; transition: width 0.08s linear; }
.meter.tension { background: linear-gradient(90deg, rgba(120, 190, 255, 0.25) 0 25%, rgba(120, 220, 140, 0.3) 25% 85%, rgba(255, 80, 80, 0.45) 85%); }
.meter.tension i { background: rgba(255, 255, 255, 0.85); }
.meter.tension.danger i { background: #ff5a5a; animation: pulse 0.15s infinite alternate; }
.meter.stamina i { background: linear-gradient(90deg, #f4a7bb, #ffd27a); }
#fight .tip { font-size: 12px; text-align: center; margin-top: 4px; }
#card { position: fixed; left: 50%; bottom: 8%; transform: translateX(-50%); z-index: 8; width: min(380px, calc(100vw - 32px)); padding: 16px 20px; border-radius: 16px; text-align: center;
  background: rgba(24, 14, 20, 0.72); border: 1px solid rgba(244, 167, 187, 0.5); backdrop-filter: blur(8px); color: var(--paper); pointer-events: none; }
#card.rare { border-color: #c8a0ff; box-shadow: 0 0 30px rgba(200, 160, 255, 0.4); }
#card.legend { border-color: #ffd27a; box-shadow: 0 0 40px rgba(255, 210, 122, 0.6); }
#card .stars { color: #ffd27a; letter-spacing: 3px; }
#card h2 { margin: 4px 0 6px; font-size: 24px; }
#card h2 span { font-size: 13px; margin-left: 8px; opacity: 0.7; font-weight: 400; }
#card .nums { display: flex; justify-content: space-around; margin: 10px 0; }
#card .nums b { display: block; font-size: 20px; color: #ffe7a8; }
#card .nums div { font-size: 12px; opacity: 0.9; }
#card p { font-size: 13px; opacity: 0.85; margin: 6px 0; }
#card small { opacity: 0.6; }
.dim { font-style: normal; opacity: 0.25; }
.badge { display: inline-block; font-size: 12px; padding: 2px 8px; margin: 0 3px; border-radius: 999px; }
.badge.new { background: #e8608a; } .badge.rec { background: #3a8ad8; } .badge.big { background: #d8902a; }
#panel { position: fixed; inset: 0; z-index: 9; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 6, 10, 0.55); }
#panel .sheet { width: min(760px, 100%); height: min(640px, 86vh); display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: rgba(32, 22, 28, 0.92); border: 1px solid rgba(244, 167, 187, 0.35); color: var(--paper); }
#panel header { display: flex; align-items: center; gap: 12px; padding: 14px 16px 8px; }
#panel h3 { margin: 0; flex: 1; font-size: 18px; letter-spacing: 0.1em; }
#panel button { font: inherit; cursor: pointer; color: var(--paper); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; padding: 6px 12px; }
#panel button:hover { background: rgba(255, 255, 255, 0.2); }
#panel button:disabled { opacity: 0.5; cursor: default; }
#panel button.poor { opacity: 0.45; }
#panel button.primary { background: linear-gradient(135deg, #e86a8a, var(--accent)); border: 0; padding: 10px 20px; }
#panel .x { border-radius: 50%; padding: 4px 10px; }
#panel nav { display: flex; gap: 6px; padding: 0 16px 10px; flex-wrap: wrap; }
#panel nav button.on { background: rgba(244, 167, 187, 0.35); border-color: rgba(244, 167, 187, 0.7); }
#panel .body { overflow-y: auto; padding: 0 16px 16px; }
.item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.item em { font-style: normal; font-size: 12px; color: #f4a7bb; }
.item small { opacity: 0.75; }
.item .have { color: #ffe7a8; opacity: 1; }
.item .st, .cell small:first-of-type { color: #ffd27a; }
.item > button { flex: none; min-width: 84px; }
.item > div { flex: 1; min-width: 0; }
.item .ico { flex: none; width: 96px; height: 58px; object-fit: contain; border-radius: 10px; background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)); }
@media (max-width: 480px) { .item .ico { width: 64px; height: 40px; } }
.foot { padding-top: 14px; text-align: center; }
.empty { text-align: center; opacity: 0.7; padding: 30px 0; }
.dex { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.cell { padding: 6px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); text-align: center; cursor: pointer; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.cell img { width: 100%; aspect-ratio: 5 / 3; object-fit: contain; }
.cell small { font-size: 11px; opacity: 0.8; }
.cell.unknown b { opacity: 0.6; }
.cell.gold { box-shadow: inset 0 0 0 1px rgba(255, 210, 122, 0.6); }
.detail { margin-top: 12px; padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); font-size: 13px; line-height: 1.7; }
.detail .hint { color: #bfe0ff; }
#chat-log { position: absolute; left: 14px; bottom: 58px; width: min(380px, calc(100vw - 28px)); font-size: 13px; line-height: 1.6; text-shadow: 0 1px 3px #000; }
#chat-log div { transition: opacity 1s; }
#chat-log .old { opacity: 0.35; }
#chat-input { position: absolute; left: 14px; bottom: 56px; width: min(380px, calc(100vw - 28px)); pointer-events: auto; font: inherit; font-size: 14px; padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(244, 167, 187, 0.6); background: rgba(20, 12, 18, 0.85); color: #fff; outline: none; }
#touch-fish { position: absolute; right: 14px; bottom: 90px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; width: 180px; pointer-events: auto; }
#touch-fish button { font: inherit; font-size: 12px; color: #fff; background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; padding: 6px 10px; }
#touch-fish .big { width: 76px; height: 76px; border-radius: 50%; font-size: 32px; background: rgba(200, 56, 30, 0.75); }
#vote { position: absolute; top: 96px; left: 50%; transform: translateX(-50%); padding: 8px 14px; border-radius: 12px; font-size: 13px; pointer-events: auto;
  background: rgba(30, 40, 70, 0.8); border: 1px solid rgba(160, 190, 255, 0.6); white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }
#vote button { font: inherit; font-size: 12px; margin-left: 6px; padding: 3px 10px; border-radius: 999px; border: 0; cursor: pointer; color: #fff; background: #3a8a5a; }
#vote button[data-v="0"] { background: #a83a3a; }
#vote .voted { margin-left: 8px; opacity: 0.7; }
#tutorial { position: absolute; top: 90px; left: 14px; max-width: min(320px, calc(100vw - 28px)); padding: 8px 12px; border-radius: 10px; font-size: 12px; line-height: 1.6;
  background: rgba(40, 70, 40, 0.75); border: 1px solid rgba(160, 230, 160, 0.5); pointer-events: auto; }
#tutorial b { font-size: 14px; }
#tutorial button { font: inherit; font-size: 11px; margin-left: 8px; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; color: #fff; cursor: pointer; }
#tip { position: absolute; left: 50%; top: 30%; transform: translateX(-50%); max-width: min(460px, calc(100vw - 32px)); padding: 10px 16px; border-radius: 12px; font-size: 14px; line-height: 1.6;
  background: rgba(60, 50, 20, 0.82); border: 1px solid rgba(255, 220, 140, 0.6); }
#emote-pop { position: absolute; left: 50%; top: 42%; transform: translate(-50%, 0); font-size: 64px; opacity: 0; pointer-events: none; }
#emote-pop.go { animation: emote 1.6s ease-out; }
@keyframes emote { 0% { opacity: 0; transform: translate(-50%, 20px) scale(0.6); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1.1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -30px); } }
#map { position: fixed; inset: 0; z-index: 9; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px; background: rgba(10, 6, 10, 0.6); }
#map canvas { max-width: 100%; max-height: calc(100vh - 60px); border-radius: 14px; border: 2px solid rgba(244, 167, 187, 0.6); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
#map .legend { margin-top: 8px; font-size: 13px; color: #fff; text-shadow: 0 1px 3px #000; }
.vol { display: flex; align-items: center; gap: 10px; margin: 10px 0; font-size: 13px; }
.vol span { width: 190px; }
.vol input { flex: 1; accent-color: #e86a8a; }
.vol b { width: 44px; text-align: right; }
.slip { margin: 6px auto; max-width: 360px; padding: 18px; border-radius: 10px; background: #f6f1e4; color: #2a1d1a; text-align: center; box-shadow: inset 0 0 0 2px #b8231c; }
.slip .fortune { font-family: "Noto Serif JP", serif; font-size: 64px; font-weight: 700; letter-spacing: 0.2em; }
.slip p { margin: 8px 0; font-size: 14px; }
.slip .gain { color: #2a6a3a; font-weight: 600; }
.item.locked { opacity: 0.6; }
.meter.prog { height: 6px; margin-top: 6px; max-width: 260px; }
.meter.prog i { background: linear-gradient(90deg, #f4a7bb, #ffd27a); }
#flash { position: fixed; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 20; }
#flash.go { animation: flash 0.5s ease-out; }
@keyframes flash { from { opacity: 0.85; } to { opacity: 0; } }
#chips { position: absolute; top: 52px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100vw - 200px); }
.chip { font-size: 12px; padding: 4px 10px; }
#tour { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); min-width: 230px; max-width: calc(100vw - 32px); padding: 8px 14px; border-radius: 12px; font-size: 13px; line-height: 1.6;
  background: rgba(60, 30, 10, 0.72); border: 1px solid rgba(255, 210, 122, 0.6); color: #fff3d6; text-align: center; }
#tour div { text-align: left; font-size: 12px; }
#tour .me { color: #ffd27a; font-weight: 700; }
#tour .npc { opacity: 0.8; }
#fish-info { position: absolute; right: 14px; bottom: 74px; max-width: min(460px, calc(100vw - 28px)); font-size: 12px; padding: 5px 10px; border-radius: 8px; background: var(--glass); text-align: right; }
#fight .alert { font-size: 20px; font-weight: 800; text-align: center; color: #ffd27a; text-shadow: 0 1px 6px #000; min-height: 0; }
#fight .alert:empty { display: none; }
.meter.snag i { background: linear-gradient(90deg, #ffd27a, #ff5a5a); }
#fight .drag { flex: 1; font-size: 12px; letter-spacing: 1px; color: #bfe0ff; }
#card .xp { display: block; margin-top: 2px; font-size: 13px; color: #bfe0ff; }
.badge.medal { background: #b8902a; } .badge.sabiki { background: #2a8aa8; }
small.hot { color: #ff9a5a; opacity: 1; font-weight: 700; } small.up { color: #8fe0a0; opacity: 1; } small.down { color: #ff9a9a; opacity: 1; }
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.board div { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); font-size: 13px; }
.board .hot { background: rgba(255, 140, 60, 0.25); } .board .up b { color: #8fe0a0; } .board .down b { color: #ff9a9a; }
.lvbig { padding: 10px 0 4px; }
.lvbig b { font-size: 20px; color: #bfe0ff; margin-right: 10px; }
.lvbig .meter { max-width: none; height: 8px; }
.pips { color: #ffd27a; letter-spacing: 2px; }
#talk { position: absolute; left: 50%; bottom: 30%; transform: translateX(-50%); width: min(540px, calc(100vw - 32px)); padding: 10px 16px; border-radius: 12px; font-size: 14px; line-height: 1.7;
  background: rgba(250, 244, 232, 0.93); color: #2a1d1a; border: 1px solid rgba(160, 120, 60, 0.6); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); }
#talk b { display: block; font-size: 12px; color: #8a5a2a; margin-bottom: 2px; }
#sense { position: absolute; left: 50%; top: calc(50% + 18px); transform: translateX(-50%); padding: 3px 10px; border-radius: 8px; font-size: 12px; background: rgba(40, 30, 10, 0.6); color: #ffe7a8; white-space: nowrap; }
#lvup { position: absolute; left: 50%; top: 28%; transform: translateX(-50%); text-align: center; font-size: 54px; font-weight: 800; color: #bfe0ff; text-shadow: 0 0 18px rgba(120, 180, 255, 0.9), 0 2px 4px #000; opacity: 0; pointer-events: none; }
#lvup small { display: block; font-size: 16px; color: #fff; letter-spacing: 0.2em; }
#lvup.go { animation: lvup 2.6s ease-out; }
@keyframes lvup { 0% { opacity: 0; transform: translate(-50%, 20px) scale(0.7); } 12% { opacity: 1; transform: translate(-50%, 0) scale(1.08); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -24px); } }
.note { font-size: 13px; opacity: 0.85; margin: 4px 0 10px; line-height: 1.6; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; font-size: 13px; }
#panel .opts button.on { background: rgba(244, 167, 187, 0.35); border-color: rgba(244, 167, 187, 0.7); }
.item.done { opacity: 0.45; }
#panel button.ready { background: linear-gradient(135deg, #e86a8a, var(--accent)); border: 0; }
.badge.quest { background: #4a9a5a; }
.badge.coop { background: #7a5ac8; }
.holder { flex: none; font-size: 13px; color: #ffd27a; }
.item .hint, .detail .hint { color: #bfe0ff; }
#name-row { display: flex; gap: 8px; justify-content: center; margin: 0 auto 16px; flex-wrap: wrap; }
#name-row input, #name-row select { font: inherit; font-size: 14px; padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(244, 167, 187, 0.5); background: rgba(20, 12, 18, 0.6); color: #fff; outline: none; }
#name-row input { width: 150px; }
#name-row #pin-input { width: 110px; }
#deny { max-width: 380px; margin: 0 auto 16px; color: #ffb0b0; font-size: 13px; line-height: 1.6; }

#panel h4 { margin: 14px 0 4px; font-size: 14px; letter-spacing: 0.06em; color: #ffd6e2; }

/* 开始画面:窗口太矮时可以上下滚动(标题不会被切掉) */
#overlay { overflow-y: auto; align-items: safe center; }

/* v1.3 */
.badge.mut { background: linear-gradient(90deg, #c88aff, #ffb6cc, #f0c040); color: #2a1d1a; }
.badge.fest { background: #2a5aa8; }
.tidebar { display: flex; align-items: flex-end; gap: 3px; height: 90px; padding: 6px; border-radius: 10px; background: rgba(40, 90, 140, 0.25); }
.tidebar i { flex: 1; background: linear-gradient(0deg, #2a6aa8, #8fd0ff); border-radius: 3px 3px 0 0; }
.tidebar i:first-child { background: linear-gradient(0deg, #e8a03a, #ffd27a); }
#bottle-text { width: 100%; font: inherit; font-size: 14px; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(168, 216, 200, 0.6); background: rgba(20, 12, 18, 0.6); color: #fff; resize: vertical; }
#sonar { position: absolute; left: 14px; bottom: 96px; padding: 6px; border-radius: 10px; background: rgba(4, 14, 22, 0.85); border: 1px solid rgba(120, 190, 230, 0.5); }
#sonar canvas { display: block; border-radius: 6px; }
#sonar small { display: block; margin-top: 4px; font-size: 11px; color: #bfe0ff; }

/* 更新公告 / 站长公告 */
#news-btn { display: block; margin: -10px auto 14px; font: inherit; font-size: 13px; color: #ffe7a8; background: rgba(255, 210, 122, 0.12); border: 1px solid rgba(255, 210, 122, 0.45);
  border-radius: 999px; padding: 6px 14px; cursor: pointer; }
#news-btn:hover { background: rgba(255, 210, 122, 0.22); }
.new { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #fff; background: #e8343a; vertical-align: 1px; animation: pulse 0.8s infinite alternate; }
#admin-news { max-width: 380px; margin: 0 auto 16px; padding: 8px 12px; border-radius: 10px; text-align: left; font-size: 13px; line-height: 1.6;
  background: rgba(255, 210, 122, 0.1); border: 1px dashed rgba(255, 210, 122, 0.5); color: #fff3d6; }
#admin-news b { display: block; font-size: 12px; color: #ffd27a; }
#admin-news div { white-space: pre-line; }
#news { position: fixed; inset: 0; z-index: 12; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(10, 6, 10, 0.6); }
#news .news-box { width: min(640px, 100%); max-height: min(720px, 92vh); display: flex; flex-direction: column; border-radius: 16px; overflow: hidden;
  background: rgba(32, 22, 28, 0.96); border: 1px solid rgba(255, 210, 122, 0.5); color: var(--paper); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
#news header { display: flex; align-items: center; padding: 14px 16px 6px; }
#news header b { flex: 1; font-size: 18px; letter-spacing: 0.1em; color: #ffd27a; }
#news .news-body { overflow-y: auto; padding: 0 16px 8px; }
#news h3 { margin: 6px 0; font-size: 16px; color: #ffe9ef; }
#news .lead { margin: 4px 0 8px; font-size: 13px; line-height: 1.6; opacity: 0.9; }
#news ul { list-style: none; margin: 0; padding: 0; }
#news li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
#news li .ic { flex: none; width: 28px; font-size: 20px; text-align: center; }
#news li b { display: block; font-size: 14px; }
#news li small { display: block; font-size: 12px; line-height: 1.6; opacity: 0.8; }
#news details { margin-top: 10px; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); }
#news summary { cursor: pointer; font-size: 14px; color: #f7cdd8; }
#news footer { padding: 10px 16px 14px; text-align: center; }
#news button { font: inherit; cursor: pointer; color: var(--paper); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; padding: 6px 12px; }
#news .x { border-radius: 50%; padding: 4px 10px; }
#news .go { border: 0; padding: 10px 26px; border-radius: 999px; background: linear-gradient(135deg, #e86a8a, var(--accent)); }

/* 呉服店 */
.wardrobe { display: flex; gap: 16px; align-items: flex-start; }
.wardrobe .avatar { flex: none; width: 150px; height: 217px; object-fit: contain; border-radius: 12px; background: radial-gradient(ellipse at 50% 60%, rgba(244, 167, 187, 0.25), rgba(255, 255, 255, 0.03)); position: sticky; top: 0; }
.wardrobe .wlist { flex: 1; min-width: 0; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; border: 1px solid rgba(255, 255, 255, 0.45); }
.item.worn b { color: #ffd27a; }
@media (max-width: 560px) { .wardrobe { flex-direction: column; align-items: center; } .wardrobe .avatar { position: static; width: 120px; height: 174px; } }

/* 金鱼捞 */
#kingyo { position: fixed; inset: 0; z-index: 9; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(10, 6, 10, 0.6); }
#kingyo .kg-box { width: min(760px, 100%); border-radius: 16px; overflow: hidden; background: rgba(32, 22, 28, 0.95); border: 1px solid rgba(240, 120, 60, 0.5); color: var(--paper); }
#kingyo header { display: flex; align-items: center; gap: 12px; padding: 12px 16px 8px; }
#kingyo header b { flex: 1; font-size: 17px; letter-spacing: 0.08em; }
#kingyo .kg-info { font-size: 12px; opacity: 0.85; }
#kingyo canvas { display: block; width: 100%; height: auto; cursor: none; touch-action: none; }
#kingyo .kg-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 16px 14px; font-size: 13px; line-height: 1.6; }
#kingyo .kg-btns { margin-left: auto; display: flex; gap: 8px; }
#kingyo button { font: inherit; cursor: pointer; color: var(--paper); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 8px; padding: 6px 14px; }
#kingyo button[data-k="again"] { background: linear-gradient(135deg, #f08a4a, #c8381e); border: 0; }
#kingyo .kg-x { border-radius: 50%; padding: 4px 10px; }
