/* Орбита v2: игры, магазин, фото, кланы, свадьбы, модерация */
.tool-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--panel); flex: none; }
.tool-btn:active { background: var(--panel2); color: var(--text); }
.tool-btn .ic { width: 21px; height: 21px; }
.msg.quiz { justify-content: center; }
.msg.quiz .text { background: linear-gradient(135deg, rgba(255, 106, 61, .25), rgba(255, 213, 74, .15)); border: 1px solid rgba(255, 213, 74, .3);
  color: #ffe9b0; padding: 8px 14px; border-radius: 14px; font-weight: 800; text-align: center; }
.person .clan-tag { font-size: 9px; font-weight: 900; color: var(--gold); margin-top: 1px; max-width: 66px; overflow: hidden; white-space: nowrap; }
.person .ring-mark { position: absolute; top: 2px; left: 2px; font-size: 12px; }
.person.chosen .ava { filter: drop-shadow(0 0 10px #ff5d8f) drop-shadow(0 0 4px #fff); }
.msg .who .ctag { color: var(--gold); font-size: 11px; margin-right: 3px; }
.pet-hop { animation: hop 1.8s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 75% { transform: translateY(-8px); } }
.twinkle { animation: tw 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.twinkle:nth-of-type(2n) { animation-delay: 1s; }
@keyframes tw { 50% { opacity: .2; transform: scale(.6); } }
.flame { animation: flick 1.2s ease-in-out infinite alternate; transform-origin: 50% 100%; transform-box: fill-box; }
@keyframes flick { to { transform: scaleY(1.06) scaleX(.97); opacity: .65; } }

.fx .bottle-spin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); animation: spinb 1.8s cubic-bezier(.2, .7, .3, 1) forwards; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5)); }
@keyframes spinb { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(var(--rot, 1440deg)); } }
.fx .kiss { position: absolute; font-size: 42px; left: 45%; top: 30%; animation: flyup 2s ease-out forwards; }

.shop-sec { margin: 6px 2px 10px; font-weight: 900; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.item { background: var(--panel); border: 1.5px solid var(--line); border-radius: 20px; padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; position: relative; overflow: hidden; }
.item .prev { width: 100%; height: 150px; border-radius: 14px; overflow: hidden; position: relative; background: var(--bg2); }
.item .prev .stage-bg { position: absolute; inset: 0; }
.item .prev > .ava { position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); height: 96%; width: auto; }
.item .prev .pet-big { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); width: 96px; height: 96px; }
.item .prev .pet-big .ava { width: 100%; height: 100%; }
.item b { font-weight: 900; }
.item .price { display: flex; align-items: center; gap: 3px; color: #9fe9ff; font-weight: 900; }
.item .price .ic { width: 16px; height: 16px; }
.item .btn { width: 100%; padding: 9px; }
.item.owned { border-color: rgba(76, 217, 138, .45); }
.item .own { position: absolute; top: 12px; right: 12px; background: var(--ok); color: #05301a; font-size: 11px; font-weight: 900; border-radius: 8px; padding: 1px 7px; z-index: 2; }
.planet-buy { display: flex; flex-direction: column; gap: 10px; }
.theme-pick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.theme-pick button { border-radius: 14px; border: 2px solid var(--line); padding: 2px; background: var(--bg2); }
.theme-pick button.active { border-color: var(--accent); }
.theme-pick .planet-svg { width: 100%; height: auto; display: block; }
.opt.locked { position: relative; opacity: .75; }
.opt.locked::after { content: "🔒"; position: absolute; top: 4px; right: 6px; font-size: 13px; }
.opt .p { color: #9fe9ff; font-size: 10px; }

.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.photo-strip button { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bg2); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-strip .add { display: grid; place-items: center; color: var(--muted); border: 2px dashed var(--line); font-size: 28px; }
.bubble img { display: block; max-width: 100%; max-height: 320px; border-radius: 12px; margin: -2px -4px 4px; cursor: zoom-in; }
.bubble.uploading { opacity: .6; }
.viewer { position: absolute; inset: 0; z-index: 70; background: rgba(0, 0, 0, .94); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 12px; }
.viewer.open { display: flex; animation: fade .15s; }
.viewer img { max-width: 100%; max-height: 80%; object-fit: contain; border-radius: 8px; }
.viewer-bar { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }

.status-line { font-style: italic; color: #d9d2ff; margin: -4px 0 10px; }
.partner-card, .clan-card { display: flex; align-items: center; gap: 10px; border-radius: 18px; padding: 10px 12px; margin-bottom: 10px; width: 100%; text-align: left; }
.partner-card { background: linear-gradient(90deg, rgba(255, 93, 143, .2), rgba(123, 92, 255, .12)); border: 1px solid rgba(255, 93, 143, .3); }
.clan-card { background: var(--panel); border: 1px solid var(--line); }
.partner-card b, .clan-card b { font-weight: 900; }
.partner-card small, .clan-card small { display: block; color: var(--muted); font-weight: 700; }
.emblem { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: radial-gradient(circle at 30% 30%, #3a3380, #1a1740); border: 2px solid var(--gold); flex: none; }
.emblem.big { width: 84px; height: 84px; font-size: 46px; border-radius: 26px; margin: 4px auto 8px; }
.clan-head { text-align: center; margin-bottom: 12px; }
.clan-head h2 { margin: 0; font-weight: 900; }
.clan-head .tagb { color: var(--gold); font-weight: 900; }
.emoji-pick { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.emoji-pick button { font-size: 22px; padding: 6px 0; border-radius: 12px; background: var(--bg2); border: 2px solid transparent; }
.emoji-pick button.active { border-color: var(--accent); }
.urow .mini-btns { display: flex; gap: 6px; }
.urow .mini-btns .btn { padding: 7px 10px; font-size: 13px; }

.mod-seg { margin: 10px 14px 0; grid-template-columns: repeat(3, 1fr); }
.report { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 12px; margin-bottom: 10px; }
.report .r-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 800; }
.report .r-reason { display: inline-block; background: rgba(255, 93, 93, .18); color: #ff9a9a; border-radius: 8px; padding: 1px 8px; font-size: 12px; font-weight: 900; margin: 6px 0; }
.report .r-ctx { background: var(--bg2); border-radius: 12px; padding: 8px 10px; font-size: 13px; max-height: 220px; overflow-y: auto; margin: 8px 0; }
.report .r-ctx div { padding: 3px 0; border-bottom: 1px solid var(--line); }
.report .r-ctx img { max-width: 120px; border-radius: 8px; display: block; }
.report .r-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.report .r-actions .btn { padding: 8px 11px; font-size: 13px; }
.logrow { padding: 8px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.logrow small { color: var(--muted); display: block; }
.reasons { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.reasons button { padding: 8px 12px; border-radius: 999px; background: var(--bg2); border: 1.5px solid var(--line); font-weight: 800; font-size: 13px; }
.reasons button.active { border-color: var(--danger); color: #ff9a9a; }
.games { display: flex; flex-direction: column; gap: 8px; }
.games button { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--bg2); text-align: left; }
.games .gicon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; flex: none; background: var(--panel2); }
.games b { font-weight: 900; display: block; }
.games small { color: var(--muted); font-weight: 700; }
.badge-dot { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 900; margin-left: auto; text-align: center; }
.map-sec { grid-column: 1 / -1; font-weight: 900; font-size: 15px; color: var(--muted); margin-top: 6px; }
