/* My Snooker: rozhranie hry (celá obrazovka) */
html, body.mysn-page { margin: 0; height: 100%; overflow: hidden; background: #0c0f14; }
body.mysn-page { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #eef2ea; -webkit-tap-highlight-color: transparent; }
#mysn-app { position: fixed; inset: 0; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.mysn-canvas { display: block; width: 100%; height: 100%; }
.mysn-ui { position: absolute; inset: 0; pointer-events: none; }
.mysn-ui > * { pointer-events: auto; }
.mysn-hidden { display: none !important; }

.mysn-bar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: linear-gradient(#0c0f14e6, #0c0f1400); }
.mysn-brand { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.mysn-home { color: #f2d48a; font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: .02em; }
.mysn-brand span { font-size: 13px; opacity: .75; }
.mysn-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; flex: 1; }
.mysn-stats span { opacity: .8; }
.mysn-stats b { color: #fff; font-size: 15px; margin-left: 3px; }
.mysn-barbtns { display: flex; gap: 6px; }

.mysn-btn { font: inherit; font-size: 13px; color: #eef2ea; background: #1a2230d9; border: 1px solid #ffffff26; border-radius: 8px; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.mysn-btn:hover { background: #26324599; border-color: #ffffff55; }
.mysn-btn:disabled { opacity: .4; cursor: default; }
.mysn-btn.mysn-on { background: #2c5a3a; border-color: #6fcf8f; }
.mysn-btn.mysn-primary { background: #c9a24a; color: #17130a; border-color: #e7c773; font-weight: 600; }

.mysn-msg { position: absolute; top: 70px; left: 50%; transform: translateX(-50%); background: #0c0f14cc; border: 1px solid #ffffff22; border-radius: 10px; padding: 8px 14px; font-size: 14px; max-width: calc(100% - 32px); text-align: center; pointer-events: none; }

.mysn-power { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; }
.mysn-power.mysn-off { opacity: .35; pointer-events: none; }
.mysn-power-track { position: relative; width: 34px; height: min(46vh, 320px); border-radius: 17px; background: #0c0f14b3; border: 1px solid #ffffff33; cursor: ns-resize; touch-action: none; overflow: hidden; }
.mysn-power-fill { position: absolute; left: 0; right: 0; top: 0; height: 0; background: linear-gradient(#3fbf6a, #e3c14f 55%, #d9473a); }
.mysn-power-knob { position: absolute; left: 3px; right: 3px; height: 6px; margin-top: -3px; top: 0; border-radius: 3px; background: #fff; box-shadow: 0 0 6px #000a; }
.mysn-power-val { font-variant-numeric: tabular-nums; }

.mysn-spin { position: absolute; left: 16px; bottom: 70px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; }
.mysn-spin-ball { position: relative; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #e6e2d6 45%, #a9a596); box-shadow: 0 2px 10px #000a; cursor: crosshair; touch-action: none; }
.mysn-spin-ball::before { content: ""; position: absolute; inset: 20%; border-radius: 50%; border: 1px dashed #0004; }
.mysn-spin-dot { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #2f6fd6; border: 2px solid #fff; box-shadow: 0 0 4px #000; pointer-events: none; }
.mysn-spin-wrap { display: flex; align-items: flex-end; gap: 8px; }
.mysn-spin-cue { width: 28px; height: 84px; filter: drop-shadow(0 2px 4px #000a); pointer-events: auto; overflow: visible; cursor: ew-resize; touch-action: none; }
.mysn-sc-body { transition: transform .12s; }
.mysn-spin-cue .mysn-sc-elev { font-size: 12px; }
.mysn-sc-locked { cursor: not-allowed; }
.mysn-spin-cue text { font: bold 11px Arial, sans-serif; paint-order: stroke; stroke: #000a; stroke-width: 2.5px; }
.mysn-sc-warn { display: none; }
.mysn-spin-cue .mysn-sc-pct { display: none; } /* 0.30.2: pri tágu len uhol (špica je v riadku pod guľou) */
.mysn-st-ext { color: #fbbf24; }
.mysn-st-stretch { color: #fb923c; flex-basis: 100%; }
.mysn-spin-locked .mysn-spin-ball { filter: grayscale(1) brightness(.7); cursor: not-allowed; }
.mysn-spin-locked .mysn-spin-dot { background: #6b7280; }
.mysn-spin-jump .mysn-spin-dot { background: #dc2626; box-shadow: 0 0 6px #ff4d4d; }
.mysn-spin-jump .mysn-spin-label { color: #ff8a8a; font-weight: 700; }
.mysn-sc-warn text { font: bold 17px Arial, sans-serif; fill: #fff; stroke: none; }
.mysn-noreach .mysn-sc-warn { display: none; animation: mysn-warn-pulse 1s ease-in-out infinite; transform-origin: 44px 38px; }
@keyframes mysn-warn-pulse { 50% { transform: scale(1.15); } }
@media (max-width: 760px) { .mysn-spin-cue { width: 21px; height: 64px; } }
.mysn-spin-stat { display: flex; flex-wrap: wrap; max-width: 190px; gap: 2px 8px; font-size: 10.5px; font-weight: 600; background: #0c0f14b0; border-radius: 6px; padding: 2px 7px; white-space: nowrap; }

.mysn-tools { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; padding: 12px 16px; background: linear-gradient(#0c0f1400, #0c0f14e6); }
.mysn-group { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }

.mysn-panel { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(440px, calc(100% - 32px)); max-height: calc(100% - 120px); overflow: auto; background: #141a24f2; border: 1px solid #ffffff2e; border-radius: 14px; padding: 18px 20px; box-shadow: 0 10px 40px #000c; }
.mysn-panel h3 { margin: 0 0 12px; color: #f2d48a; font-size: 17px; }
.mysn-panel label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; margin-bottom: 12px; }
.mysn-panel label.mysn-check { flex-direction: row; align-items: center; gap: 8px; }
.mysn-panel select, .mysn-panel input[type=range] { font: inherit; padding: 6px; border-radius: 6px; background: #0c0f14; color: #eef2ea; border: 1px solid #ffffff33; }
.mysn-note { font-size: 12px; opacity: .65; margin: 0 0 12px; }
.mysn-help ul { margin: 0 0 14px; padding-left: 18px; font-size: 13px; line-height: 1.5; }
.mysn-help li { margin-bottom: 6px; }
.mysn-nogl { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-size: 16px; }

@media (max-width: 720px) {
	.mysn-bar { flex-wrap: wrap; gap: 6px 10px; padding: 8px 12px; }
	.mysn-stats { order: 3; flex-basis: 100%; font-size: 12px; }
	.mysn-msg { top: 84px; font-size: 13px; }
	.mysn-spin { bottom: 112px; left: 12px; }
	.mysn-spin-ball { width: 64px; height: 64px; }
	.mysn-power { right: 10px; }
	.mysn-power-track { width: 30px; height: 38vh; }
	.mysn-btn { padding: 7px 10px; font-size: 12px; }
}


/* Detail dotyku gúľ (2D pohľad zhora v okamihu dotyku) */
.mysn-contact { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; }
.mysn-contact canvas { width: 190px; height: 190px; display: block; border-radius: 50%; box-shadow: 0 4px 18px #000b; }
.mysn-contact-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; font-size: 12px; background: #0c0f14cc; border-radius: 8px; padding: 4px 10px; white-space: nowrap; }
.mysn-contact-info b { color: #fff; }
.mysn-contact-where { opacity: .8; }
.mysn-contact-pot { color: #6fdc8c; font-weight: 600; }
.mysn-contact-miss { color: #ff9a8a; }
@media (max-width: 720px) {
	.mysn-contact { bottom: 104px; left: auto; right: 48px; transform: none; }
		.mysn-contact canvas { width: 140px; height: 140px; }
	.mysn-contact-info { font-size: 11px; white-space: normal; max-width: 170px; }
	.mysn-contact canvas { width: 130px; height: 130px; }
}

.mysn-hint { position: absolute; left: 50%; top: 46px; transform: translateX(-50%); font-size: 12px; opacity: .55; pointer-events: none; white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; }
.mysn-hint.mysn-hint-on { opacity: 1; color: #f2d48a; }
/* 0.45.7: pri mierení (pravé tlačidlo myši, na tablete oko) zmiznú texty hore a správy chatu */
/* 0.45.8: pri mierení je náhľad zásahu (kruh s guľami, uhol a hrúbka) o polovicu menší */
.mysn-contact { transition: transform .15s; }
.mysn-ui.mysn-aiming .mysn-contact { transform: translateX(-50%) scale(.5); transform-origin: 50% 100%; }
.mysn-ui.mysn-aiming .mysn-contact.mysn-contact-left { transform: scale(.5); transform-origin: 0 100%; }
.mysn-ui.mysn-aiming .mysn-contact.mysn-contact-right { transform: scale(.5); transform-origin: 100% 100%; }
.mysn-ui.mysn-aiming .mysn-contact.mysn-contact-topright { transform: scale(.5); transform-origin: 100% 0; } /* zmenšuje sa k rohu, poloha ostáva (neschová sa pod Nastavenia) */
@media (max-width: 720px) { .mysn-ui.mysn-aiming .mysn-contact:not(.mysn-contact-left):not(.mysn-contact-topright) { transform: scale(.5); transform-origin: 100% 100%; } }
.mysn-msg, .mysn-hint, .mysn-toast, .mysn-gchat-list { transition: opacity .25s; }
.mysn-ui.mysn-aiming .mysn-msg, .mysn-ui.mysn-aiming .mysn-hint, .mysn-ui.mysn-aiming .mysn-toast, .mysn-ui.mysn-aiming .mysn-gchat:not(.mysn-gchat-open) .mysn-gchat-list { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .mysn-hint { display: none; } }

/* Hlavné menu */
.mysn-menu { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; background: #05070acc; backdrop-filter: blur(3px); }
.mysn-menu-box { width: min(360px, calc(100% - 32px)); background: #141a24f2; border: 1px solid #ffffff2e; border-radius: 16px; padding: 24px; text-align: center; box-shadow: 0 10px 40px #000c; }
.mysn-menu-box h2 { margin: 0; color: #f2d48a; font-size: 26px; letter-spacing: .02em; }
.mysn-menu-mode { margin: 4px 0 18px; opacity: .7; font-size: 13px; }
.mysn-menu-btns { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.mysn-menu-btns .mysn-btn { padding: 11px 14px; font-size: 15px; }
.mysn-panel { z-index: 4; }

/* Pohľad na nástenku a stojan s tágami */
.mysn-ui.mysn-viewing .mysn-contact, .mysn-ui.mysn-viewing .mysn-power, .mysn-ui.mysn-viewing .mysn-spin, .mysn-ui.mysn-viewing .mysn-tools, .mysn-ui.mysn-viewing .mysn-msg, .mysn-ui.mysn-viewing .mysn-hint { display: none !important; }
.mysn-view { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; background: linear-gradient(#0c0f1400, #0c0f14ee 40%); }
.mysn-view h3 { margin: 0; color: #f2d48a; font-size: 17px; }
.mysn-cues { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.mysn-cue { font: inherit; text-align: left; width: 178px; display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border-radius: 10px; background: #141a24e6; color: #eef2ea; border: 1px solid #ffffff26; cursor: pointer; font-size: 12px; }
.mysn-cue b { font-size: 14px; color: #fff; }
.mysn-cue em { font-style: normal; opacity: .7; margin-top: 3px; }
.mysn-cue.mysn-on { border-color: #e7c773; box-shadow: 0 0 0 2px #c9a24a inset; }
.mysn-cue-n { float: right; color: #c9a24a; font-weight: 700; }
.mysn-cue-cat { color: #f2d48a; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.mysn-view-foot { display: flex; gap: 14px; align-items: center; font-size: 12px; opacity: .95; flex-wrap: wrap; justify-content: center; }
.mysn-cue { width: 168px; padding: 7px 10px; font-size: 11.5px; }
.mysn-cue b { font-size: 13px; }
.mysn-cues { max-width: 900px; }
.mysn-chalk-on b { color: #6fb3ff !important; }
.mysn-chalk-off { opacity: .6; }
.mysn-news { display: flex; flex-wrap: wrap; gap: 6px 8px; justify-content: center; max-width: 1000px; }
.mysn-news-item { display: block; width: 300px; padding: 6px 10px; border-radius: 8px; background: #141a24e6; border: 1px solid #ffffff22; color: #eef2ea; text-decoration: none; font-size: 12.5px; line-height: 1.3; }
.mysn-news-item:hover { border-color: #e7c773; }
.mysn-news-item span { display: block; color: #f2d48a; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; }
/* čítanie novín: titulky v stĺpci vpravo, noviny ostanú voľné */
.mysn-view.mysn-view-news { left: auto; top: 72px; width: 320px; padding: 12px; justify-content: flex-start; background: linear-gradient(90deg, #0c0f1400, #0c0f14ee 18%); }
.mysn-view-news .mysn-news { flex-direction: column; flex-wrap: nowrap; overflow-y: auto; max-height: calc(100vh - 200px); }
.mysn-view-news .mysn-news-item { width: auto; }
@media (max-width: 720px) { .mysn-view.mysn-view-news { width: 100%; top: auto; background: #0c0f14ee; } .mysn-view-news .mysn-news { max-height: 30vh; } }

/* Čítanie novín a časopisu na celú obrazovku */
.mysn-reader { position: absolute; inset: 0; z-index: 5; overflow-y: auto; background: #f3eee3; color: #1d1a16; padding: 22px max(16px, calc((100% - 1180px) / 2)) 40px; }
.mysn-rd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 4px double #1d1a16; padding-bottom: 10px; margin-bottom: 18px; }
.mysn-rd-head h2 { margin: 0; font: 900 40px Georgia, serif; letter-spacing: .02em; }
.mysn-rd-head span { font: italic 15px Georgia, serif; color: #5a5246; }
.mysn-rd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.mysn-rd-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; background: #fbf8f1; border: 1px solid #ddd3c0; border-radius: 10px; padding: 12px; }
.mysn-rd-card:hover { border-color: #c0392b; }
.mysn-rd-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #e4dccb; }
.mysn-rd-card b { font: bold 19px/1.25 Georgia, serif; }
.mysn-rd-card p { margin: 0; font: 14px/1.45 Georgia, serif; color: #3a342c; }
.mysn-rd-meta { font: bold 11px Arial, sans-serif; color: #c0392b; text-transform: uppercase; letter-spacing: .04em; }
.mysn-rd-lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 6px 18px; align-items: start; }
.mysn-rd-lead img { grid-row: span 3; aspect-ratio: 16 / 10; }
.mysn-rd-lead b { font-size: 30px; }
.mysn-rd-lead p { font-size: 16px; }
@media (max-width: 720px) { .mysn-rd-lead { display: flex; } .mysn-rd-lead b { font-size: 22px; } }

/* Prihlásenie a hra s priateľom (žltá podľa témy webu Hedlajner) */
.mysn-btn.mysn-login { display: block; text-decoration: none; background: #FACC15; color: #111214; border-color: #EAB308; font-weight: 700; font-size: 16px; padding: 12px 16px; }
.mysn-btn.mysn-login:hover { background: #EAB308; border-color: #CA8A04; }
.mysn-btn.mysn-friend { border-color: #FACC15aa; }
.mysn-menu-note { background: #2c5a3a; border: 1px solid #6fcf8f; border-radius: 10px; padding: 9px 12px; margin: 0 0 14px; font-size: 14px; }
.mysn-menu-inv:empty { display: none; }
.mysn-menu-inv { margin-bottom: 12px; }
.mysn-inv { display: flex; align-items: center; gap: 8px; background: #FACC151f; border: 1px solid #FACC1566; border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; text-align: left; font-size: 13px; }
.mysn-inv span { flex: 1; }
.mysn-inv.mysn-wait { background: #ffffff0d; border-color: #ffffff26; }
.mysn-inv img, .mysn-live-row img, .mysn-live-row i, .mysn-inv i { width: 32px; height: 32px; border-radius: 50%; flex: none; background: #ffffff1a; }
.mysn-lobby { width: min(480px, calc(100% - 32px)); z-index: 5; }
.mysn-lobby-sub { margin: 14px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .6; }
.mysn-live { display: flex; flex-direction: column; gap: 6px; }
.mysn-live-row { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; background: #ffffff0a; }
.mysn-live-row span { flex: 1; display: flex; flex-direction: column; font-size: 14px; }
.mysn-live-row em { font-style: normal; font-size: 12px; opacity: .65; }
.mysn-live-row em.mysn-live-on { color: #6fcf8f; opacity: 1; }
.mysn-lobby-foot { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 16px; }
.mysn-lobby-foot .mysn-note { margin: 0; font-size: 12px; }
.mysn-toast { position: absolute; top: 112px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 8px; background: #141a24f2; border: 1px solid #FACC15aa; border-radius: 12px; padding: 9px 12px; font-size: 14px; box-shadow: 0 6px 24px #000a; max-width: calc(100% - 32px); }
.mysn-banner { position: absolute; bottom: 70px; left: 50%; transform: translate(-50%, 0) scale(.96); transform-origin: 50% 100%; z-index: 7; pointer-events: none; text-align: center; background: #0d121bdd; border: 1px solid #FACC15aa; border-radius: 16px; padding: 16px 26px; box-shadow: 0 10px 40px #000c; max-width: calc(100% - 40px); opacity: 0; transition: opacity .5s, transform .5s; }
.mysn-banner-on { opacity: 1; transform: translate(-50%, 0) scale(1); transition: opacity .25s, transform .25s; }
.mysn-banner-main { font-size: 20px; font-weight: 700; color: #ffd34d; line-height: 1.25; }
.mysn-banner-sub { margin-top: 6px; font-size: 15px; color: #e6e6e6; }
@media (hover: none), (pointer: coarse) { .mysn-banner { padding: 10px 16px; bottom: 112px; } .mysn-banner-main { font-size: 16px; } .mysn-banner-sub { font-size: 13px; } }
.mysn-sc.mysn-turn { color: #FACC15; }
.mysn-sc.mysn-turn b { color: #FACC15; }
.mysn-sc i { font-style: normal; font-size: 11px; color: #ff9b9b; }
.mysn-menu-box { max-height: calc(100% - 24px); overflow: auto; }
/* Rebríček o najlepšie skóre */
.mysn-lb { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0; }
.mysn-lb th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; opacity: .6; padding: 4px 6px; }
.mysn-lb td { padding: 6px; border-top: 1px solid #ffffff14; }
.mysn-lb tr.mysn-lb-me td { color: #FACC15; }
.mysn-lb tr.mysn-lb-gap td { text-align: center; opacity: .5; }
/* Slávnostné ukončenie framu */
.mysn-party { position: absolute; inset: 0; z-index: 7; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #2c5a3aee, #05070af2 70%); overflow: hidden; }
.mysn-party-conf i { position: absolute; top: -20px; opacity: .95; animation-name: mysn-fall; animation-timing-function: linear; animation-iteration-count: infinite; }
@keyframes mysn-fall { 0% { transform: translateY(0) rotate(0deg); } 100% { transform: translateY(110vh) rotate(720deg); } }
.mysn-party-box { position: relative; text-align: center; background: #141a24f2; border: 2px solid #FACC15; border-radius: 20px; padding: 28px 34px; width: min(420px, calc(100% - 32px)); box-shadow: 0 0 60px #FACC1555, 0 12px 50px #000c; animation: mysn-party-pop .5s cubic-bezier(.2,1.4,.4,1) both; }
/* vlastný názov: @keyframes mysn-pop nižšie (body nad guľou) by ho prepísal a okno so skóre by zmizlo (0.10.3) */
@keyframes mysn-party-pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.mysn-party-kick { margin: 0; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; opacity: .7; }
.mysn-party-box h2 { margin: 4px 0 10px; color: #FACC15; font-size: 34px; }
.mysn-party-score { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.mysn-party-score b { font-size: 84px; line-height: 1; color: #fff; text-shadow: 0 0 24px #FACC1588; }
.mysn-party-score span { font-size: 22px; opacity: .8; }
.mysn-party-time { margin: 6px 0 4px; font-size: 20px; }
.mysn-party-time b { color: #f2d48a; }
.mysn-party-meta { margin: 0 0 8px; font-size: 13px; opacity: .7; }
.mysn-party-rank { margin: 8px 0; font-weight: 600; color: #6fcf8f; }
.mysn-party-err { color: #ff9b9b; font-size: 13px; }
.mysn-party-btns { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.mysn-party-btns .mysn-btn { padding: 11px 18px; font-size: 15px; }
.mysn-news-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 0 2px; color: #f2d48a; font-size: 13px; letter-spacing: .06em; }
.mysn-news-head .mysn-btn { padding: 4px 10px; font-size: 12px; }
.mysn-view.mysn-view-news { overflow: hidden; }
.mysn-view-news .mysn-news { max-height: none; flex: 1 1 auto; min-height: 0; width: 100%; justify-content: flex-start; }
.mysn-view-news .mysn-news > * { flex: none; }
/* Mixpult (F9) */
.mysn-mixer { display: flex; flex-direction: column; gap: 6px; width: 100%; min-height: 0; flex: 1 1 auto; }
.mysn-mixer-status { margin: 0; font-size: 12px; opacity: .8; }
.mysn-mixer-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.mysn-mixer-row span { width: 78px; flex: none; }
.mysn-mixer-row input { flex: 1; accent-color: #FACC15; }
.mysn-stations { overflow-y: auto; min-height: 0; flex: 1 1 auto; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; }
.mysn-stations .mysn-news-item { width: auto; text-align: left; cursor: pointer; font: inherit; font-size: 12.5px; }
.mysn-stations .mysn-news-item.mysn-on { border-color: #FACC15; background: #FACC1522; }
/* Telefón z baru (F10): Môj účet */
.mysn-phone { position: absolute; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; background: #05070acc; }
.mysn-phone-dev { position: relative; width: min(420px, calc(100% - 32px)); height: min(820px, calc(100% - 40px)); background: #0d0e11; border: 3px solid #2a2c33; border-radius: 42px; padding: 16px 12px; box-shadow: 0 20px 60px #000c, inset 0 0 0 2px #000; animation: mysn-party-pop .35s ease-out both; }
.mysn-phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 110px; height: 22px; border-radius: 12px; background: #000; z-index: 1; }
.mysn-phone-scr { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #f0f0f1; display: flex; flex-direction: column; }
.mysn-phone-bar { display: flex; align-items: center; justify-content: space-between; padding: 30px 14px 10px; background: #1d2b45; color: #fff; font-size: 15px; }
.mysn-phone-bar .mysn-btn { padding: 5px 10px; font-size: 12px; }
.mysn-phone-frame { flex: 1; width: 100%; border: 0; background: #f0f0f1; }
.mysn-phone-msg { padding: 24px 18px; color: #1d2327; font-size: 14px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.mysn-phone-msg a.mysn-btn { text-decoration: none; display: inline-block; }
.mysn-phone-ext { display: block; text-align: center; padding: 8px; font-size: 12px; color: #1d2b45; background: #e2e4e8; text-decoration: none; }
/* Liga */
.mysn-league { width: min(560px, calc(100% - 32px)); }
.mysn-league-tabs { display: flex; gap: 6px; margin: 14px 0 4px; flex-wrap: wrap; }
.mysn-league-tabs .mysn-btn.mysn-on { background: #1747b5; border-color: #6f9bff; }
.mysn-fade { position: absolute; inset: 0; z-index: 9; background: #000; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.mysn-fade.mysn-on { opacity: 1; }
/* Kancelária (Liga) */
.mysn-office .mysn-office-btns { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.mysn-form { display: flex; flex-direction: column; gap: 6px; }
.mysn-form-row span { width: 110px; }
.mysn-form input[type=text], .mysn-form select, .mysn-cue-edit input[type=text] { flex: 1; min-width: 0; font: inherit; font-size: 13px; padding: 6px 8px; border-radius: 6px; background: #0c0f14; color: #eef2ea; border: 1px solid #ffffff33; }
.mysn-cue-row { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 8px; background: #141a24e6; border: 1px solid #ffffff22; }
.mysn-cue-row.mysn-on { border-color: #FACC15; }
.mysn-cue-row input { accent-color: #FACC15; width: 18px; height: 18px; }
.mysn-cue-name { flex: 1; text-align: left; background: none; border: 0; color: #eef2ea; font: inherit; cursor: pointer; display: flex; flex-direction: column; padding: 2px; }
.mysn-cue-name span { font-size: 11px; opacity: .7; }
.mysn-cue-edit { padding: 6px 8px 10px; border-left: 2px solid #FACC15; margin-left: 10px; display: flex; flex-direction: column; gap: 4px; }
.mysn-cue-edit input[type=color] { width: 60px; height: 26px; border: 0; background: none; }

/* kancelária: horná lišta bez štatistík tréningu */
.mysn-in-office .mysn-stats { visibility: hidden; }
.mysn-btn.mysn-league-btn { background: #7cc4f2; color: #0b2235; border-color: #a9dafa; font-weight: 600; }
.mysn-btn.mysn-league-btn:hover { background: #95d1f7; }
.mysn-btn.mysn-rooms-btn { background: linear-gradient(90deg,#7a2d5a,#e8913a); color: #fff; border-color: #f2b06a; font-weight: 600; }
.mysn-btn.mysn-rooms-btn:hover { filter: brightness(1.1); }
.mysn-grooms { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(640px, 94vw); max-height: 88vh; overflow: auto; z-index: 40; }
.mysn-grooms h3 { margin: 0 0 4px; }
.mysn-gr-list { display: flex; flex-direction: column; gap: 12px; margin: 12px 0; }
.mysn-gr-card { display: flex; gap: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; overflow: hidden; }
.mysn-gr-card.here { border-color: #f2b06a; }
.mysn-gr-card.soon { opacity: 0.55; }
.mysn-gr-pic { flex: 0 0 120px; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.mysn-gr-body { padding: 10px 12px 12px 0; flex: 1; }
.mysn-gr-body p { margin: 4px 0 6px; font-size: 13px; opacity: 0.85; }
.mysn-gr-body em { font-style: normal; font-size: 11px; color: #f2b06a; }
.mysn-gr-body ul { margin: 0 0 8px; padding-left: 18px; font-size: 13px; }
.mysn-gr-body li.soon { opacity: 0.6; }
.mysn-gr-btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mysn-gr-btns .mysn-btn { width: auto; padding: 7px 16px; margin: 0; }
.mysn-gr-btns .mysn-btn i { font-size: 11px; color: #f2b06a; font-style: normal; }
.mysn-gr-btns .mysn-btn:disabled { opacity: .6; cursor: default; }
.mysn-gr-btns .mysn-gr-gear { padding: 6px 11px; font-size: 18px; line-height: 1; }
.mysn-gr-opts { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding: 8px 10px; background: rgba(0,0,0,.25); border-radius: 8px; font-size: 13px; }
.mysn-grooms .mysn-gr-opt { display: flex; flex-direction: row; justify-content: flex-start; text-align: left; gap: 8px; align-items: center; cursor: pointer; margin: 0; }
.mysn-grooms .mysn-gr-opt input { width: auto; margin: 0; flex: 0 0 auto; }
.mysn-gr-body li i { font-size: 11px; color: #f2b06a; font-style: normal; }
@media (max-width: 520px) { .mysn-gr-pic { flex-basis: 70px; font-size: 32px; } }
.mysn-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-1deg); width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 80px); overflow: auto; z-index: 40; padding: 22px 26px 18px; border-radius: 10px; background: linear-gradient(135deg, #b3121f, #6e0912); border: 3px solid #e9c46a; box-shadow: 0 18px 50px #000a, inset 0 0 0 6px #6e0912, inset 0 0 0 8px #e9c46a66; color: #fff4e6; }
.mysn-card.mysn-hidden { display: none; }
.mysn-card-brand { text-align: center; font: 700 15px Georgia, serif; letter-spacing: 3px; color: #f4d98a; margin-bottom: 6px; }
.mysn-card .mysn-news-head { justify-content: center; text-align: center; font: 700 24px Georgia, serif; color: #fff4e6; margin-bottom: 4px; }
.mysn-card .mysn-mixer-status { color: #f6dcc4; text-align: center; }
.mysn-card .mysn-form-row span { color: #fff0dc; }
.mysn-card .mysn-form input[type=text], .mysn-card .mysn-form select { background: #fff8ef; color: #3a0a0e; border: 1px solid #e9c46a; border-radius: 6px; }
.mysn-card .mysn-btn { margin-top: 8px; width: 100%; }
.mysn-card .mysn-btn.mysn-primary { background: #e9c46a; color: #4a0a10; border-color: #f4d98a; }
/* kancelária: bez bočného panela; moje tágá (F2) v okne uprostred */
.mysn-in-office .mysn-view:not(.mysn-office-rack) { display: none; }
.mysn-in-office .mysn-view.mysn-office-float { left: 50%; top: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); width: min(520px, calc(100% - 32px)); max-height: calc(100vh - 100px); overflow: auto; border-radius: 12px; background: #0c0f14f2; border: 1px solid #ffffff22; box-shadow: 0 18px 50px #000a; }
.mysn-in-office .mysn-view.mysn-office-float .mysn-view-foot { display: none; }
/* kancelária F2: pás tág dole ako stojan v herni */
.mysn-in-office .mysn-view.mysn-office-rack { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 62vh; overflow: auto; padding: 12px 16px 16px; align-items: center; background: linear-gradient(#0c0f1400, #0c0f14ee 22%); }
.mysn-office-rack .mysn-office-btns { display: none; }
.mysn-cue.mysn-pick { background: #2a2410f0; border-color: #FACC15; }
.mysn-cue.mysn-pick em { color: #FACC15; opacity: 1; }
.mysn-cue-edit-row { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: center; max-width: 980px; padding: 8px 12px; border-radius: 10px; background: #141a24e6; border: 1px solid #ffffff26; }
.mysn-cue-edit-row .mysn-form-row { width: auto; gap: 6px; }
.mysn-cue-edit-t { color: #f2d48a; }
.mysn-office-rack .mysn-office { width: 100%; max-width: 1080px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mysn-office-rack .mysn-view-foot, .mysn-office-rack .mysn-office > .mysn-mixer-status { display: none; }
.mysn-cue-edit-row .mysn-form-row { flex: 0 0 auto; width: auto; margin: 0; display: flex; align-items: center; gap: 6px; }
.mysn-cue-edit-row .mysn-form-row span { min-width: 0; }
.mysn-cue-edit-row input[type=text] { width: 150px; flex: 0 0 auto; }
.mysn-cue-edit-row input[type=range] { width: 110px; flex: 0 0 auto; }
.mysn-cue-edit.mysn-cue-edit-row { flex-direction: row; display: flex; border-left: 1px solid #ffffff26; margin: 0; }
.mysn-cue-edit-row .mysn-cue-edit-t { flex: 1 0 100%; text-align: center; }
.mysn-office-rack .mysn-office > .mysn-cue-hint { display: block; text-align: center; opacity: .85; }
.mysn-cue.mysn-def { border-color: #7cc4f2; box-shadow: 0 0 0 2px #7cc4f2 inset; }
.mysn-cue.mysn-def em { color: #7cc4f2; }
.mysn-cue .mysn-cue-defbtn { margin-top: 5px; padding: 3px 8px; font-size: 11px; align-self: flex-start; }
/* kancelária F2: tágá najviac v dvoch riadkoch (5 stĺpcov na šírku), ďalšie vpravo, posun vodorovne */
.mysn-office-rack .mysn-cues { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: calc((100% - 32px) / 5); justify-content: start; gap: 8px; width: 100%; max-width: 1000px; overflow-x: auto; overflow-y: hidden; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: #c9a24a #141a24; }
.mysn-office-rack .mysn-cues::-webkit-scrollbar { height: 8px; }
.mysn-office-rack .mysn-cues::-webkit-scrollbar-thumb { background: #c9a24a; border-radius: 4px; }
.mysn-office-rack .mysn-cues::-webkit-scrollbar-track { background: #141a24; border-radius: 4px; }
.mysn-office-rack .mysn-cue { width: auto; min-width: 0; }
/* divák (Vstúpiť): bez spodných tlačidiel, sily a miesta úderu */
.mysn-watching .mysn-tools, .mysn-watching .mysn-power, .mysn-watching .mysn-spin { display: none; }
.mysn-watching .mysn-hint { display: none; }
/* stojan F2: priehľadný panel s nastaveniami tága vpravo */
.mysn-cue-panel { position: absolute; top: 64px; right: 16px; width: min(320px, calc(100% - 32px)); max-height: calc(100vh - 140px); overflow: auto; padding: 14px 16px; border-radius: 12px; background: #0c0f14b8; border: 1px solid #ffffff22; backdrop-filter: blur(6px); display: flex; flex-direction: column; gap: 8px; z-index: 6; }
.mysn-cue-panel.mysn-hidden { display: none; }
.mysn-cue-panel h3 { margin: 0; color: #f2d48a; font-size: 18px; }
.mysn-cp-kind { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #c9a24a; }
.mysn-cp-stats { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; }
.mysn-cp-stats b { color: #fff; }
.mysn-cp-note { margin: 0; font-size: 12px; opacity: .85; }
.mysn-cp-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.mysn-cp-row > span { flex: 0 0 110px; }
.mysn-cp-row input[type=text] { flex: 1; min-width: 0; font: inherit; padding: 5px 8px; border-radius: 6px; background: #0c0f14; color: #eef2ea; border: 1px solid #ffffff33; }
.mysn-cp-row input[type=color] { width: 60px; height: 26px; border: 0; background: none; }
.mysn-cp-row input[type=range] { flex: 1; accent-color: #FACC15; }
.mysn-cp-val { font-style: normal; width: 40px; text-align: right; }
.mysn-cp-count { margin: 4px 0 0; font-size: 11px; opacity: .7; }
.mysn-cp-del { align-self: flex-start; }
@media (min-width: 900px) { .mysn-view.mysn-rack-panel { padding-right: 350px; } }
@media (max-width: 899px) { .mysn-cue-panel { top: auto; bottom: 0; right: 0; left: 0; width: auto; max-height: 45vh; border-radius: 12px 12px 0 0; } }
.mysn-cue-panel { bottom: 70px; max-height: none; }
.mysn-cp-head { margin-top: 8px; padding-top: 10px; border-top: 1px solid #ffffff22; color: #f2d48a; font-weight: 700; display: flex; justify-content: space-between; }
.mysn-cp-head em { font-style: normal; font-weight: 400; opacity: .7; font-size: 12px; }
.mysn-cp-own { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: #141a24cc; border: 1px solid #ffffff1c; font-size: 12px; }
.mysn-cp-own.mysn-on { border-color: #e7c773; }
.mysn-cp-own > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mysn-cp-own em { font-style: normal; opacity: .7; font-size: 11px; }
.mysn-cp-own .mysn-btn { padding: 4px 8px; font-size: 11px; }
.mysn-cp-sw { width: 26px; height: 10px; border-radius: 5px; flex: none; }
/* prihlásenie v hre: formulár ako stránka Prihlásenie z My Users, vzhľad ako menu hry (tmavé okno, zlatý nadpis, žlté tlačidlo) */
.mysn-auth { position: absolute; inset: 0; z-index: 20; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 24px 16px; background: #05070acc; backdrop-filter: blur(3px); }
.mysn-auth.mysn-hidden { display: none; }
.mysn-lg-wrap { width: 100%; max-width: 400px; margin: auto 0; }
.mysn-lg-card { position: relative; background: #141a24f2; border: 1px solid #ffffff2e; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 40px #000c; }
.mysn-lg-head { text-align: center; padding: 22px 48px 14px; }
.mysn-lg-head h2 { margin: 0; color: #f2d48a; font-size: 26px; letter-spacing: .02em; }
.mysn-lg-head p { margin: 4px 0 0; font-size: 13px; opacity: .8; }
.mysn-lg-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #ffffff26; background: #1a2230d9; color: #eef2ea; font-size: 20px; line-height: 1; cursor: pointer; }
.mysn-lg-close:hover { background: #26324599; border-color: #ffffff55; }
.mysn-lg-tabs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #ffffff1a; border-bottom: 1px solid #ffffff1a; }
.mysn-lg-tabs button { font: inherit; font-weight: 600; font-size: 14px; padding: 11px 8px; border: 0; border-bottom: 2px solid transparent; background: #0c0f1466; color: #eef2eaa6; cursor: pointer; }
.mysn-lg-tabs button:hover { color: #eef2ea; }
.mysn-lg-tabs button[aria-selected="true"] { background: transparent; color: #f2d48a; border-bottom-color: #c9a24a; }
.mysn-lg-body { padding: 18px 24px 22px; }
.mysn-lg-body h3 { margin: 0 0 4px; font-size: 18px; color: #fff; }
.mysn-lg-sub { margin: 0 0 14px; font-size: 13px; opacity: .75; }
.mysn-lg-google { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 12px; border-radius: 8px; border: 1px solid #ffffff26; background: #1a2230d9; color: #eef2ea; font-weight: 600; font-size: 14px; text-decoration: none; }
.mysn-lg-google:hover { background: #26324599; border-color: #ffffff55; }
.mysn-lg-or { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; font-size: 12px; opacity: .6; }
.mysn-lg-or::before, .mysn-lg-or::after { content: ""; flex: 1; height: 1px; background: #ffffff33; }
.mysn-lg-form { display: flex; flex-direction: column; gap: 5px; text-align: left; }
.mysn-lg-form label { font-size: 12.5px; font-weight: 600; color: #eef2eacc; }
.mysn-lg-form input[type=email], .mysn-lg-form input[type=text], .mysn-lg-form input[type=password] { font: inherit; font-size: 14px; padding: 9px 11px; margin-bottom: 8px; border-radius: 8px; border: 1px solid #ffffff33; background: #0c0f14; color: #eef2ea; outline: none; }
.mysn-lg-form input:focus { border-color: #c9a24a; box-shadow: 0 0 0 3px #c9a24a33; }
.mysn-lg-row { display: flex; align-items: baseline; justify-content: space-between; }
.mysn-lg-row a, .mysn-lg-switch a, .mysn-lg-check a { color: #f2d48a; font-weight: 600; font-size: 12.5px; }
.mysn-lg-check { display: flex; align-items: flex-start; gap: 8px; font-weight: 400 !important; font-size: 13px !important; margin: 2px 0 6px; cursor: pointer; }
.mysn-lg-check input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: #c9a24a; flex: 0 0 auto; }
.mysn-lg-hint { margin: -4px 0 4px; font-size: 12px; opacity: .6; }
.mysn-lg-btn { font: inherit; font-weight: 700; font-size: 15px; padding: 11px 16px; margin-top: 6px; border: 1px solid #EAB308; border-radius: 8px; background: #FACC15; color: #111214; cursor: pointer; }
.mysn-lg-btn:hover { background: #EAB308; border-color: #CA8A04; }
.mysn-lg-btn:disabled { opacity: .7; cursor: default; }
.mysn-lg-switch { margin: 14px 0 0; text-align: center; font-size: 13px; opacity: .85; }
.mysn-lg-alert { margin: 0 0 12px; padding: 9px 12px; border-radius: 8px; background: #4a1f24cc; border: 1px solid #c2525b; color: #ffd9dc; font-size: 13px; }
.mysn-lg-alert.mysn-lg-ok { background: #1d3d2bcc; border-color: #4caf72; color: #d6f5e1; }
.mysn-lg-sent p { font-size: 14px; line-height: 1.5; opacity: .9; }
.mysn-lg-sent .mysn-lg-btn { width: 100%; }
.mysn-lg-foot { margin: 12px 8px 0; text-align: center; font-size: 12px; line-height: 1.5; opacity: .6; }
@media (max-width: 520px) { .mysn-lg-body { padding: 16px 16px 18px; } }
/* účet hráča (menu Účet) */
.mysn-account { width: min(460px, calc(100% - 32px)); background: #141a24; z-index: 6; }
.mysn-account h4 { margin: 14px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #c9a24a; }
.mysn-acc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 4px; }
.mysn-acc-head img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid #c9a24a; object-fit: cover; }
.mysn-acc-head div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mysn-acc-head b { font-size: 16px; color: #fff; }
.mysn-acc-head span { font-size: 12.5px; opacity: .75; overflow: hidden; text-overflow: ellipsis; }
.mysn-acc-head em { font-style: normal; font-size: 12px; color: #f2d48a; }
.mysn-acc-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid #ffffff12; font-size: 13px; }
.mysn-acc-row span { opacity: .75; }
.mysn-acc-row b { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.mysn-acc-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 12px; }
.mysn-acc-links .mysn-btn { text-decoration: none; flex: 1 1 auto; text-align: center; }
.mysn-account .mysn-primary { width: 100%; }

/* výber miesta diváka (štadión zhora alebo herňa zhora) */
.mysn-seat-hint { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 7; display: flex; flex-direction: column; align-items: center; gap: 6px; background: #141a24f2; border: 1px solid #FACC15aa; border-radius: 14px; padding: 12px 18px; box-shadow: 0 6px 24px #000a; max-width: min(560px, calc(100% - 32px)); text-align: center; }
.mysn-seat-hint b { color: #f2d48a; font-size: 17px; }
.mysn-seat-hint span { font-size: 14px; color: #dfe4ec; line-height: 1.45; }
.mysn-seat-hint .mysn-btn, .mysn-seat-hint button { margin-top: 4px; width: auto; padding: 6px 14px; font-size: 13px; }

/* kancelária F7: Moje zápasy v lige (zoznam a detail) */
.mysn-hist { position: absolute; top: 56px; right: 14px; bottom: 14px; width: min(440px, calc(100% - 28px)); z-index: 6; overflow-y: auto; background: #10151ef2; border: 1px solid #2a3140; border-radius: 14px; padding: 14px 16px; box-shadow: 0 8px 30px #000b; color: #e6eae2; font-size: 14px; }
.mysn-hist h3 { margin: 0 0 10px; color: #f2d48a; font-size: 18px; }
.mysn-hist h4 { margin: 16px 0 8px; color: #f2d48a; font-size: 15px; }
.mysn-hist-load, .mysn-hist-empty { color: #9aa3b2; padding: 10px 0; }
.mysn-hist-sum { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 12px; color: #c5ccd8; font-size: 13px; }
.mysn-hist-sum b { color: #fff; }
.mysn-hist-list { display: flex; flex-direction: column; gap: 6px; }
.mysn-hist-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'opp score' 'date res' '. delta'; gap: 2px 10px; text-align: left; background: #171e2a; border: 1px solid #263044; border-left: 4px solid #5a6170; border-radius: 10px; padding: 8px 10px; color: inherit; font: inherit; cursor: pointer; }
.mysn-hist-row:hover { border-color: #FACC15aa; }
.mysn-hist-row.mysn-hist-win { border-left-color: #2fb35a; }
.mysn-hist-row.mysn-hist-loss { border-left-color: #d94141; }
.mysn-hist-opp { grid-area: opp; font-weight: 700; }
.mysn-hist-cc { font-weight: 400; color: #9aa3b2; font-size: 12px; }
.mysn-hist-date { grid-area: date; color: #9aa3b2; font-size: 12px; }
.mysn-hist-score { grid-area: score; font-weight: 800; font-size: 16px; text-align: right; }
.mysn-hist-res { grid-area: res; text-align: right; font-size: 12px; }
.mysn-hist-win .mysn-hist-res { color: #6be08f; }
.mysn-hist-loss .mysn-hist-res { color: #ff8a8a; }
.mysn-hist-delta { grid-area: delta; text-align: right; font-size: 12px; color: #f2d48a; }
.mysn-hist-delta small { display: block; color: #9fb3d9; font-size: 11px; white-space: nowrap; }
.mysn-hist-play { display: block; margin: 8px 0 2px; width: 100%; background: #FACC15; color: #111; font-weight: 700; border-color: #FACC15; }
.mysn-hist-play:hover { background: #ffd93b; }
.mysn-replay { position: absolute; left: 14px; right: min(470px, 40%); bottom: 18px; z-index: 6; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.mysn-replay .mysn-btn { pointer-events: auto; width: auto; min-width: 48px; padding: 8px 14px; font-size: 18px; background: #10151ef2; border: 1px solid #2a3140; color: #e6eae2; }
.mysn-replay .mysn-replay-play { min-width: 130px; background: #FACC15; color: #111; border-color: #FACC15; font-weight: 700; }
.mysn-replay .mysn-replay-close { margin-left: 10px; }
.mysn-hist-more, .mysn-hist-back { margin-top: 6px; width: auto; align-self: flex-start; }
.mysn-hist-head { margin: 10px 0 6px; padding: 10px 12px; border-radius: 10px; background: #171e2a; border-left: 4px solid #5a6170; }
.mysn-hist-head.mysn-hist-win { border-left-color: #2fb35a; }
.mysn-hist-head.mysn-hist-loss { border-left-color: #d94141; }
.mysn-hist-vs { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mysn-hist-vs span { flex: 1; font-weight: 700; }
.mysn-hist-vs span:last-child { text-align: right; }
.mysn-hist-vs b { font-size: 22px; white-space: nowrap; }
.mysn-hist-meta { margin-top: 6px; color: #9aa3b2; font-size: 12px; line-height: 1.5; }
.mysn-hist-cmp { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 13px; }
.mysn-hist-cmp th, .mysn-hist-cmp td { padding: 5px 4px; border-bottom: 1px solid #222a38; }
.mysn-hist-cmp thead th { color: #f2d48a; }
.mysn-hist-cmp tbody th { color: #9aa3b2; font-weight: 400; text-align: center; }
.mysn-hist-cmp td:first-child { text-align: left; }
.mysn-hist-cmp td:last-child { text-align: right; }
.mysn-hist-cmp td.mysn-hi { color: #fff; font-weight: 800; }
.mysn-hist-chart svg { width: 100%; height: auto; display: block; }
.mysn-hist-chart .ax { stroke: #3a4352; stroke-width: 1; }
.mysn-hist-chart .lb { fill: #8a93a3; font-size: 10px; }
.mysn-hist-chart polyline { fill: none; stroke-width: 2.2; stroke-linejoin: round; }
.mysn-hist-chart polyline.p0 { stroke: #FACC15; }
.mysn-hist-chart polyline.p1 { stroke: #5aa2ff; }
.mysn-hist-legend { display: flex; gap: 16px; font-size: 12px; margin-top: 4px; }
.mysn-hist-legend span::before { content: ''; display: inline-block; width: 14px; height: 3px; margin-right: 6px; vertical-align: middle; }
.mysn-hist-legend .p0::before { background: #FACC15; }
.mysn-hist-legend .p1::before { background: #5aa2ff; }
.mysn-hist-tl { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.mysn-hist-foul { color: #ff8a8a; }
.mysn-hist-brk.mysn-side0 b { color: #FACC15; }
/* 0.47.0 chat ligovej partie v histórii */
.mysn-hist-chat { display: flex; flex-direction: column; gap: 4px; max-height: 260px; overflow-y: auto; padding: 6px 8px; border-radius: 8px; background: #ffffff0d; font-size: 13px; }
.mysn-hist-cmsg { overflow-wrap: anywhere; }
.mysn-hist-cmsg small { color: #8f99a8; font-size: 11px; }
.mysn-hist-cmsg.mysn-side0 b { color: #FACC15; }
.mysn-hist-cmsg.mysn-side1 b { color: #5aa2ff; }
.mysn-hist-cmsg.mysn-sidex b { color: #cfd3da; }
.mysn-hist-cmsg i { font-style: normal; font-weight: 400; font-size: 11px; color: #8f99a8; }
.mysn-hist-brk.mysn-side1 b { color: #5aa2ff; }
.mysn-hist-foot { margin-top: 14px; color: #8a93a3; font-size: 12px; }

/* vyhľadávanie ligového zápasu: pásik hore (v menu aj v hre) a okno nájdeného zápasu */
.mysn-seek { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 30; display: flex; align-items: center; gap: 10px; background: #FACC15; color: #141414; border-radius: 999px; padding: 6px 8px 6px 14px; font-size: 14px; font-weight: 700; box-shadow: 0 4px 18px #000a; white-space: nowrap; }
.mysn-seek-dot { width: 9px; height: 9px; border-radius: 50%; background: #141414; animation: mysn-seek-blink 1.2s ease-in-out infinite; }
@keyframes mysn-seek-blink { 50% { opacity: 0.2; } }
.mysn-seek-x { border: 0; background: #14141422; color: #141414; width: 26px; height: 26px; border-radius: 50%; font-size: 14px; font-weight: 800; cursor: pointer; line-height: 26px; padding: 0; }
.mysn-seek-x:hover { background: #14141444; }
.mysn-found { position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; background: #000b; backdrop-filter: blur(3px); }
.mysn-found-box { width: min(420px, calc(100% - 32px)); background: #121924; border: 2px solid #FACC15; border-radius: 18px; padding: 24px 22px; text-align: center; box-shadow: 0 0 0 6px #FACC1522, 0 20px 60px #000; animation: mysn-found-in 0.35s ease-out; }
@keyframes mysn-found-in { from { transform: scale(0.85); opacity: 0; } }
.mysn-found-title { font-size: 24px; font-weight: 800; color: #FACC15; margin-bottom: 14px; }
.mysn-found-ring { position: relative; width: 120px; height: 120px; margin: 0 auto 12px; }
.mysn-found-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mysn-found-ring circle { fill: none; stroke-width: 9; }
.mysn-found-ring .bg { stroke: #26303f; }
.mysn-found-ring .fg { stroke: #FACC15; stroke-linecap: round; transition: stroke-dashoffset 0.25s linear; }
.mysn-found-hurry .fg { stroke: #ff5a5a; }
.mysn-found-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 34px; color: #fff; }
.mysn-found-note { color: #c5ccd8; font-size: 14px; margin-bottom: 16px; line-height: 1.45; }
.mysn-found-btns { display: flex; gap: 10px; justify-content: center; }
.mysn-found-btns button { flex: 1; }

/* detail dotyku: poloha podľa Nastavení (vľavo vedľa Miesta úderu, vpravo vedľa ukazovateľa sily) */
.mysn-contact.mysn-contact-left { left: 120px; right: auto; transform: none; bottom: 24px; }
.mysn-contact.mysn-contact-right { left: auto; right: 64px; transform: none; bottom: 24px; }
.mysn-contact.mysn-contact-topright { left: auto; right: 64px; transform: none; bottom: auto; top: 56px; }
@media (max-width: 720px) {
	.mysn-contact.mysn-contact-left { left: 86px; bottom: 96px; }
	.mysn-contact.mysn-contact-right { right: 48px; bottom: 104px; }
	.mysn-contact.mysn-contact-topright { right: 48px; bottom: auto; top: 52px; }
}

/* časomiera ligového zápasu: ukazovateľ hore, posledných 5 sekúnd veľký odpočet */
.mysn-clock { position: absolute; top: 46px; left: 50%; transform: translateX(-50%); z-index: 8; display: flex; align-items: baseline; gap: 8px; background: #0c0f14d9; border: 1px solid #2a3140; border-radius: 999px; padding: 4px 14px; font-size: 12px; color: #c5ccd8; pointer-events: none; }
.mysn-clock b { font-size: 18px; color: #fff; font-variant-numeric: tabular-nums; }
.mysn-clock.mysn-clock-mine { border-color: #FACC15aa; }
.mysn-clock.mysn-clock-warn b { color: #FACC15; }
.mysn-clock-big { position: absolute; bottom: 160px; left: 50%; transform: translate(-50%, 0); transform-origin: 50% 100%; z-index: 9; font-size: 90px; line-height: 1; font-weight: 900; color: #FACC15; text-shadow: 0 6px 30px #000, 0 0 2px #000; pointer-events: none; }
.mysn-clock-big.mysn-clock-end { color: #ff4d4d; font-size: 72px; }
@media (hover: none), (pointer: coarse) { .mysn-clock-big { font-size: 64px; bottom: 190px; } .mysn-clock-big.mysn-clock-end { font-size: 52px; } }
.mysn-clock-pop { animation: mysn-clock-pop 0.9s ease-out; }
@keyframes mysn-clock-pop { from { transform: translate(-50%, 0) scale(1.5); opacity: 0.2; } 30% { opacity: 1; } to { transform: translate(-50%, 0) scale(1); opacity: 0.85; } }
/* Správa hry (admin a správca hry) */
.mysn-staff { width: min(760px, calc(100% - 32px)); max-height: calc(100% - 80px); overflow: auto; }
.mysn-staff h4 { margin: 14px 0 6px; font-size: 14px; opacity: .85; }
.mysn-staff .mysn-live-row { flex-wrap: wrap; }
.mysn-staff-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }
.mysn-btn.mysn-btn-s { padding: 5px 10px; font-size: 12px; min-height: 0; width: auto; }
.mysn-btn.mysn-danger { background: #b32d2e; border-color: #b32d2e; color: #fff; }
.mysn-staff-nick { width: 130px; padding: 5px 8px; border-radius: 8px; border: 1px solid #ffffff33; background: #0006; color: inherit; font: inherit; font-size: 12px; }
.mysn-btn.mysn-staff-btn { border-color: #d4a72c; }
/* Ctrl drž: spodné tlačidlá a šúpatko Otáčanie myšou (inak skryté; Hotovo pri kladení bielej ostáva) */
@media (hover: hover) and (pointer: fine) {
	/* len s myšou (na dotykovej obrazovke Ctrl nie je, tlačidlá ostávajú) */
	.mysn-ui:not(.mysn-ctrl) .mysn-tools { background: none; pointer-events: none; }
	.mysn-ui:not(.mysn-ctrl) .mysn-tools .mysn-btn:not(.mysn-primary), .mysn-ui:not(.mysn-ctrl) .mysn-sens { display: none; }
	.mysn-ui:not(.mysn-ctrl) .mysn-tools .mysn-primary { pointer-events: auto; }
}
.mysn-ui.mysn-ctrl-free .mysn-tools .mysn-group:not(.mysn-sens) { display: none; }
/* mobil: šípka dole v strede zobrazí alebo schová spodný panel (predvolene schovaný, Hotovo ostáva) */
.mysn-tools-toggle { display: none; }
/* mobil: oko pri zameranej guli (drž a ťahaj = pohľad ako pravým tlačidlom myši) */
.mysn-eye { display: none; position: absolute; left: 172px; bottom: 62px; width: 58px; height: 58px; padding: 0; border-radius: 50%; border: 1.5px solid #ffffffcc; background: #ffffff26; align-items: center; justify-content: center; pointer-events: auto; touch-action: none; -webkit-tap-highlight-color: transparent; }
.mysn-eye.mysn-eye-held { background: #ffffff59; border-color: #fff; }
/* mobil: krieda a pomôcky (F3) – modrý štvorček v bielom kruhu nad Miestom úderu */
.mysn-chalkbtn { display: none; position: absolute; left: 8px; bottom: 256px; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1.5px solid #ffffffcc; background: #ffffff26; align-items: center; justify-content: center; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.mysn-chalkbtn i { display: block; width: 20px; height: 20px; border-radius: 4px; background: #6fb3ff; border: 1.5px solid #fff; }
/* mobil: hlavné menu ☰ na celú obrazovku (okrúhle ikony, farba podľa skupiny) a Späť k stolu */
.mysn-mmbtn { display: none; font-size: 18px; line-height: 1; padding: 6px 12px; }
.mysn-mmbtn.mysn-on { background: #ffd34d; color: #111; border-color: #ffd34d; }
.mysn-mmenu { position: absolute; inset: 0; z-index: 40; background: #0b0e13f2; overflow-y: auto; padding: 64px 18px 24px; box-sizing: border-box; pointer-events: auto; -webkit-overflow-scrolling: touch; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.mysn-mm-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff40; background: #ffffff14; color: #fff; font-size: 18px; }
.mysn-mm-sec { margin-bottom: 18px; }
.mysn-mm-mode { color: #cfd3da; font-size: 13px; margin: -40px 56px 20px 2px; min-height: 18px; }
.mysn-mm-h { color: var(--mm); font-size: 13px; font-weight: 700; letter-spacing: .03em; margin: 0 2px 10px; }
.mysn-mm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; }
.mysn-mm-it { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #dde2ea; font: 500 12px/1.2 system-ui, sans-serif; text-align: center; -webkit-tap-highlight-color: transparent; }
.mysn-mm-ic { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--mm); border: 1.5px solid var(--mm); background: color-mix(in srgb, var(--mm) 15%, transparent); }
.mysn-mm-it:active .mysn-mm-ic { background: color-mix(in srgb, var(--mm) 35%, transparent); }
.mysn-backbtn { display: none; position: absolute; left: 50%; bottom: 56px; transform: translateX(-50%); padding: 12px 22px; border-radius: 24px; border: 0; background: #ffd34d; color: #111; font: 700 15px system-ui, sans-serif; z-index: 30; pointer-events: auto; box-shadow: 0 2px 10px #0008; }
/* mobil: panák = voľný pohľad (nad kriedou) a ovládač chôdze vo voľnom pohľade */
.mysn-freebtn { display: none; position: absolute; left: 8px; bottom: 316px; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1.5px solid #ffffffcc; background: #ffffff26; color: #fff; align-items: center; justify-content: center; pointer-events: auto; z-index: 3; -webkit-tap-highlight-color: transparent; }
.mysn-freebtn.mysn-free-on { color: #ffd34d; border-color: #ffd34d; background: #ffd34d40; }
.mysn-topbtn { bottom: 376px; }
.mysn-sndbtn { bottom: 436px; }
.mysn-sndpop { position: absolute; left: 64px; bottom: 430px; z-index: 8; display: flex; gap: 8px; padding: 6px; border-radius: 14px; background: #0d121be6; border: 1px solid #ffffff33; pointer-events: auto; }
.mysn-sndpop button { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 58px; padding: 6px 0; border-radius: 10px; border: 1px solid #ffffff2e; background: #ffffff14; color: #fff; font: inherit; }
.mysn-sndpop button span { font-size: 22px; line-height: 1; }
.mysn-sndpop button small { font-size: 11px; }
.mysn-ui.mysn-water .mysn-spin-dot { background: #2fb4ff; box-shadow: 0 0 10px #2fb4ff; }
.mysn-ui.mysn-tools-open .mysn-sndbtn { bottom: 608px; }
.mysn-ui.mysn-tools-open .mysn-sndpop { bottom: 602px; }
.mysn-joy { display: none; position: absolute; right: 16px; bottom: 24px; width: 120px; height: 120px; border-radius: 50%; border: 1.5px solid #ffffffaa; background: #ffffff1f; align-items: center; justify-content: center; pointer-events: auto; touch-action: none; z-index: 3; }
.mysn-joyud { display: none; position: absolute; right: 146px; bottom: 30px; flex-direction: column; gap: 10px; pointer-events: auto; touch-action: none; z-index: 3; }
.mysn-joyud button { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid #ffffffaa; background: #ffffff1f; color: #fff; font-size: 18px; padding: 0; -webkit-tap-highlight-color: transparent; }
.mysn-joyud button.mysn-on { background: #ffd34d66; border-color: #ffd34d; }
.mysn-ui.mysn-freecam .mysn-tpower, .mysn-ui.mysn-freecam .mysn-spin, .mysn-ui.mysn-freecam .mysn-chalkbtn, .mysn-ui.mysn-freecam .mysn-finebtn, .mysn-ui.mysn-freecam .mysn-eye, .mysn-ui.mysn-freecam .mysn-contact, .mysn-ui.mysn-freecam .mysn-tools-toggle { display: none !important; }
.mysn-joy i { display: block; width: 46px; height: 46px; border-radius: 50%; background: #ffffffcc; transition: transform .05s; }
/* mobil: tlačidlo Do stredu pod Miestom úderu (na desktope skryté) */
.mysn-spin-reset { display: none; margin: 2px auto 0; padding: 4px 12px; border: 0; border-radius: 11px; background: #ffd34d; color: #111; font: 700 12px system-ui, sans-serif; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
/* mobil: zameriavač – jemné mierenie (ako Shift), medzi kriedou a Miestom úderu */
.mysn-finebtn { display: none; position: absolute; left: 8px; bottom: 196px; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1.5px solid #ffffffcc; background: #ffffff26; color: #fff; align-items: center; justify-content: center; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.mysn-finebtn.mysn-fine-on { color: #ffd34d; border-color: #ffd34d; background: #ffd34d40; }
/* mobil: ukazovateľ sily v pravom dolnom rohu (na desktope skrytý) */
.mysn-tpower { display: none; position: absolute; right: 8px; bottom: 8px; flex-direction: column; align-items: flex-end; gap: 4px; pointer-events: none; opacity: .55; transition: opacity .15s; }
.mysn-tpower.mysn-tp-on { opacity: 1; }
.mysn-tpower.mysn-off { opacity: .25; }
.mysn-tp-val { font-size: 12px; font-weight: 700; color: #ffd34d; text-shadow: 0 1px 3px #000c; font-variant-numeric: tabular-nums; }
.mysn-tp-box { position: relative; width: 46px; height: min(30vh, 170px); border: 1.5px solid #ffffffcc; border-radius: 9px; background: #ffffff1f; }
.mysn-tp-pull { position: absolute; left: 5px; top: 5px; bottom: 5px; width: 7px; border-radius: 4px; background: #ffffff26; overflow: hidden; }
.mysn-tp-pull i { position: absolute; left: 0; right: 0; top: 0; height: 0; border-radius: 4px; background: #ffffffd9; }
.mysn-tp-pow { position: absolute; right: 5px; top: 5px; bottom: 5px; width: 24px; border-radius: 5px; overflow: hidden; }
.mysn-tp-pow i { position: absolute; left: 0; right: 0; bottom: 0; height: 0; border-radius: 5px; background: #ffd34dcc; }
.mysn-ui.mysn-viewing .mysn-tpower, .mysn-watching .mysn-tpower { display: none !important; }
@media (hover: none), (pointer: coarse) {
	.mysn-tools-toggle { display: flex; align-items: center; justify-content: center; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); width: 56px; height: 30px; padding: 0; border-radius: 15px; border: 1px solid #ffffff40; background: #0c0f14cc; color: #e8ecf2; font-size: 15px; line-height: 1; pointer-events: auto; z-index: 3; -webkit-tap-highlight-color: transparent; }
	.mysn-tools { padding-bottom: 44px; }
	.mysn-ui:not(.mysn-tools-open) .mysn-tools { background: none; pointer-events: none; }
	.mysn-ui:not(.mysn-tools-open) .mysn-tools .mysn-btn:not(.mysn-primary), .mysn-ui:not(.mysn-tools-open) .mysn-sens { display: none; }
	.mysn-ui:not(.mysn-tools-open) .mysn-tools .mysn-primary { pointer-events: auto; }
	.mysn-ui.mysn-viewing .mysn-tools-toggle, .mysn-watching .mysn-tools-toggle { display: none; }
	/* ukazovateľ sily: namiesto zvislého pásu vpravo priehľadný biely obdĺžnik v pravom dolnom rohu */
	.mysn-power { display: none; }
	.mysn-tpower { display: flex; }
	.mysn-ui.mysn-tools-open .mysn-tpower { bottom: 180px; }
	.mysn-eye.mysn-eye-on { display: flex; }
	.mysn-chalkbtn { display: flex; }
	/* Miesto úderu mimo stredu: namiesto popisu žlté tlačidlo Do stredu */
	.mysn-spin.mysn-spin-off .mysn-spin-label { display: none; }
	.mysn-spin.mysn-spin-off .mysn-spin-reset { display: inline-block; }
	/* klávesové skratky na mobile nie sú: čísla položiek v ponuke Krieda a pomôcky, riadok nápovedy pre myš */
	.mysn-tools-menu .mysn-btn > b, .mysn-hint { display: none !important; }
	.mysn-mmbtn { display: inline-flex; align-items: center; }
	.mysn-barbtns .mysn-btn:not(.mysn-mmbtn) { display: none; }
	.mysn-backbtn.mysn-back-on { display: block; }
	.mysn-backbtn.mysn-back-free { left: 12px; bottom: 62px; transform: none; display: none; align-items: center; gap: 6px; padding: 10px 16px; }
	.mysn-backbtn.mysn-back-free.mysn-back-on { display: flex; }
	.mysn-ui.mysn-tools-open .mysn-chalkbtn { bottom: 428px; }
	.mysn-finebtn.mysn-fine-can { display: flex; }
	.mysn-ui.mysn-tools-open .mysn-finebtn { bottom: 368px; }
	.mysn-freebtn.mysn-free-can { display: flex; }
	.mysn-ui.mysn-tools-open .mysn-freebtn { bottom: 488px; }
	.mysn-ui.mysn-tools-open .mysn-topbtn { bottom: 548px; }
	.mysn-joy.mysn-joy-on, .mysn-joyud.mysn-joy-on { display: flex; }
	.mysn-ui.mysn-viewing .mysn-finebtn, .mysn-watching .mysn-finebtn { display: none !important; }
	.mysn-ui.mysn-viewing .mysn-chalkbtn, .mysn-watching .mysn-chalkbtn { display: none !important; }
	/* horná lišta: Krieda F3 sa na mobile neukazuje (klávesy tu nie sú, stav kriedy je pod Miestom úderu) */
	.mysn-chalk-on, .mysn-chalk-off { display: none; }
	.mysn-ui.mysn-tools-open .mysn-eye { bottom: 234px; }
	.mysn-ui.mysn-viewing .mysn-eye, .mysn-watching .mysn-eye { display: none !important; }
	/* detail dotyku úplne vpravo hore (zvislý ukazovateľ sily tu nie je, odsadenie sprava netreba) */
	.mysn-contact.mysn-contact-topright { right: 8px; top: 76px; }
	/* Miesto úderu úplne dole v ľavom rohu; pri otvorenom spodnom paneli nad ním */
	.mysn-spin { left: 8px; bottom: 8px; }
	.mysn-ui.mysn-tools-open .mysn-spin { bottom: 180px; }
}
.mysn-sens { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #e8ecf2; }
.mysn-sens input { width: 160px; accent-color: #d4a72c; }
.mysn-sens b { min-width: 34px; font-weight: 600; }
/* FPS pri držanom Ctrl: výrazne vľavo hore pod lištou */
.mysn-fps { position: absolute; top: 46px; left: 16px; display: none; padding: 6px 14px; border-radius: 10px; background: #0c0f14d9; color: #7CFC8A; font: 700 28px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 1px; border: 2px solid #7CFC8A66; pointer-events: none; z-index: 30; }
.mysn-fps.mysn-fps-mid { color: #ffd34d; border-color: #ffd34d66; }
.mysn-fps.mysn-fps-low { color: #ff6b6b; border-color: #ff6b6b66; }
.mysn-ui.mysn-ctrl .mysn-fps { display: block; }
/* Nastavenia: prehliadka miestností (len admin) */
.mysn-tour { margin: 6px 0 10px; padding: 10px; border: 1px solid #d4a72c66; border-radius: 10px; display: flex; flex-direction: column; gap: 6px; }
.mysn-tour span { font-size: 12px; opacity: .75; }
.mysn-tour div { display: flex; gap: 6px; flex-wrap: wrap; }
.mysn-tour .mysn-btn { width: auto; flex: 1; }
/* Ponuka F3: krieda, pavúk, nové postavenie gúľ */
.mysn-tools-menu { width: min(360px, calc(100% - 32px)); display: flex; flex-direction: column; gap: 8px; }
.mysn-tools-menu .mysn-btn { text-align: left; }
.mysn-tools-menu .mysn-btn b { display: inline-block; min-width: 18px; color: #d4a72c; }
.mysn-tools-menu .mysn-btn:disabled { opacity: .45; }
.mysn-tools-menu .mysn-note { margin: -4px 0 2px; font-size: 12px; }
.mysn-spin-note { font-size: 11px; color: #ffd34d; font-weight: 600; }
/* Mapa miestností (M) */
.mysn-roommap { width: min(720px, calc(100% - 32px)); }
.mysn-map-wrap { display: flex; gap: 16px; align-items: stretch; flex-wrap: wrap; }
.mysn-map { flex: 1 1 300px; min-width: 260px; aspect-ratio: 1; background: #0c0f14; border-radius: 12px; border: 1px solid #ffffff1a; }
.mysn-map .mysn-corr { fill: #2a2016; }
.mysn-mr { cursor: pointer; }
.mysn-mr rect { fill: #1b2a22; stroke: #ffffff33; stroke-width: .5; transition: fill .15s; }
.mysn-mr:hover rect { fill: #24382d; }
.mysn-mr.here rect { fill: #2a4a35; }
.mysn-mr.sel rect { stroke: #d4a72c; stroke-width: 1.2; }
.mysn-mr.locked rect { fill: #1a1c22; }
.mysn-mr text { fill: #e8ecf2; font-size: 5px; font-weight: 700; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.mysn-mr text.lock { font-size: 3.4px; font-weight: 500; fill: #d4a72c; }
.mysn-map-card { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.mysn-map-card p { margin: 0; font-size: 13px; opacity: .85; }
/* Telefón diváka (F1) */
.mysn-spphone { width: min(320px, calc(100% - 32px)); border-radius: 28px; border: 3px solid #2a2f3a; display: flex; flex-direction: column; gap: 8px; right: 24px; left: auto; }
.mysn-spphone-top { text-align: center; font-size: 12px; opacity: .7; }
.mysn-sp-keys { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.mysn-sp-keys div { display: flex; gap: 10px; }
.mysn-sp-keys b { min-width: 40px; color: #d4a72c; }
/* divák Tab: malý stôl zhora vpravo hore (kreslí ho druhá kamera do rohu plátna, toto je len rámik) */
.mysn-minitable { position: absolute; z-index: 4; pointer-events: none; box-sizing: border-box; border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 6px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55); }
.mysn-playercam span { position: absolute; left: 6px; top: 4px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, 0.5); padding: 1px 6px; border-radius: 4px; }
/* kancelária F4: pravidlá bodovania ligy vpravo (výrazné, väčšie písmo) */
.mysn-rules { position: absolute; top: 56px; right: 14px; bottom: 14px; width: min(400px, calc(100% - 28px)); z-index: 6; overflow-y: auto; background: #10151ef2; border: 1px solid #c9a54a; border-radius: 14px; padding: 18px 20px; box-shadow: 0 8px 30px #000b; color: #eef2ea; }
.mysn-rules h3 { margin: 0 0 14px; color: #f2d48a; font-size: 24px; }
.mysn-rules ul { list-style: none; margin: 0; padding: 0; }
.mysn-rules li { margin: 0 0 13px; font-size: 18px; line-height: 1.4; }
.mysn-rules li b { display: block; color: #FACC15; font-size: 19px; margin-bottom: 2px; }
.mysn-cp-pros { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: #c5ccd8; }
.mysn-cp-pros li.mysn-on b { color: #FACC15; }
.mysn-cp-pros b, .mysn-cp-pros span { display: block; }
.mysn-cp-pros .mysn-pro { color: #7ee08a; }
.mysn-cp-pros .mysn-con { color: #f08a8a; }
.mysn-q { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; margin-left: 5px; border-radius: 50%; background: #FACC15; color: #111; font: 700 11px/1 Arial, sans-serif; font-style: normal; cursor: help; vertical-align: 1px; }
.mysn-tipbox { position: absolute; z-index: 30; width: 280px; padding: 10px 12px; border-radius: 9px; background: #10151ef7; border: 1px solid #FACC15aa; box-shadow: 0 8px 24px #000b; color: #e6eae2; font: 400 13px/1.45 Arial, sans-serif; pointer-events: none; }
.mysn-tipbox.mysn-hidden { display: none; }
.mysn-tools-menu .mysn-warn { color: #f08a8a; font-weight: 700; }
.mysn-reach.mysn-reach-stretch { background: #3a2a0dd9; border-color: #f59e0b; color: #ffe8b5; }
.mysn-pop { position: absolute; z-index: 7; transform: translate(-50%, -50%); font: 800 34px/1 Arial, sans-serif; pointer-events: none; text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 2px 8px #000c; animation: mysn-pop 1.6s ease-out forwards; white-space: nowrap; }
.mysn-pop-big { font-size: 26px; text-shadow: 0 2px 8px #000; }
@keyframes mysn-pop { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.6); } 12% { opacity: 1; transform: translate(-50%, -60%) scale(1.15); } 25% { transform: translate(-50%, -70%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -260%) scale(1); } }
.mysn-choice { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); z-index: 8; width: min(440px, calc(100% - 32px)); padding: 14px 16px; border-radius: 12px; background: #101826f0; border: 1px solid #facc15; box-shadow: 0 8px 28px #000c; text-align: center; }
.mysn-choice-t { font-size: 14.5px; color: #fff; line-height: 1.4; }
.mysn-choice-b { display: flex; gap: 10px; justify-content: center; margin: 12px 0 8px; }
.mysn-choice-b button { flex: 1; padding: 9px 10px; border-radius: 8px; border: 1px solid #ffffff33; background: #1e2a40; color: #fff; font-weight: 700; cursor: pointer; }
.mysn-choice-b button[data-a="0"] { background: #facc15; color: #111; border-color: #facc15; }
.mysn-choice-b button:hover { filter: brightness(1.12); }
.mysn-choice-n { font-size: 11.5px; color: #9fb3d9; }
.mysn-reach { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); z-index: 5; padding: 7px 14px; border-radius: 9px; background: #3a0d0dd9; border: 1px solid #e5484d; color: #ffd7d7; font-size: 13.5px; pointer-events: none; }
.mysn-cp-fine { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #e6eae2; cursor: pointer; padding: 6px 10px; border-radius: 8px; background: #facc1514; border: 1px solid #facc1566; margin: 4px 0; }
.mysn-cp-fine input { margin-top: 2px; accent-color: #FACC15; }
.mysn-cp-fine em { font-style: normal; color: #9aa4b2; font-size: 12px; }
.mysn-cp-budget { font-size: 12.5px; color: #c5ccd8; padding: 6px 10px; border-radius: 8px; background: #FACC1514; border: 1px solid #FACC1540; }
.mysn-cp-budget b { color: #FACC15; }
.mysn-tip { margin: 2px 0 4px; padding: 10px 12px; border-radius: 10px; background: #ffffff0d; border: 1px solid #ffffff1a; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.mysn-tip h4 { margin: 0; color: #f2d48a; font-size: 15px; display: flex; justify-content: space-between; }
.mysn-tip h4 span { color: #9aa4b2; font-weight: 400; font-size: 12px; }
.mysn-tip-row { display: flex; gap: 14px; }
.mysn-tip-bar { height: 8px; border-radius: 4px; background: #ffffff1f; overflow: hidden; }
.mysn-tip-bar i { display: block; height: 100%; border-radius: 4px; }
.mysn-tip-state, .mysn-tip-sum { color: #c5ccd8; font-size: 12px; }
.mysn-tip-new { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mysn-tip-new span { width: 100%; font-size: 12px; color: #9aa4b2; }
.mysn-tip-new .mysn-btn { flex: 1; width: auto; padding: 6px 8px; font-size: 13px; }
.mysn-tip-colors { display: flex; align-items: center; gap: 7px; }
.mysn-tip-colors span { font-size: 12px; color: #c5ccd8; margin-right: 4px; }
.mysn-tip-col { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #ffffff33; cursor: pointer; padding: 0; }
.mysn-tip-col:hover { border-color: #FACC15aa; }
.mysn-tip-col.mysn-on { border-color: #FACC15; box-shadow: 0 0 0 2px #FACC1555; }
.mysn-tip-info { margin: 2px 0 0; padding-left: 15px; color: #9aa4b2; font-size: 11px; line-height: 1.35; display: flex; flex-direction: column; gap: 3px; }
.mysn-chalks { position: absolute; top: 56px; left: 14px; width: min(290px, calc(100% - 28px)); max-height: calc(100% - 330px); overflow-y: auto; z-index: 6; padding: 14px 14px 12px; border-radius: 12px; background: #0c0f14d0; border: 1px solid #ffffff22; backdrop-filter: blur(6px); color: #e6eae2; }
.mysn-chalks h3 { margin: 0 0 4px; color: #f2d48a; font-size: 18px; }
.mysn-chalks-sub { margin: 0 0 10px; font-size: 12px; color: #9aa4b2; }
.mysn-chalk-list { display: flex; flex-direction: column; gap: 6px; }
.mysn-chalk { display: flex; gap: 10px; align-items: center; text-align: left; padding: 7px 9px; border-radius: 9px; background: #171e2a; border: 1px solid #263044; color: inherit; font: inherit; cursor: pointer; }
.mysn-chalk:hover { border-color: #FACC15aa; }
.mysn-chalk.mysn-on { border-color: #FACC15; box-shadow: 0 0 0 1px #FACC15 inset; }
.mysn-chalk span { display: flex; flex-direction: column; }
.mysn-chalk b { font-size: 14px; }
.mysn-chalk em { font-style: normal; font-size: 11.5px; color: #9aa4b2; }
.mysn-chalk-cube { flex: none; width: 26px; height: 26px; border-radius: 4px; background: linear-gradient(var(--c) 0 38%, var(--w) 38%); box-shadow: inset -3px -3px 5px #0005, 0 1px 3px #0008; }
.mysn-chalk-back { margin-top: 10px; width: 100%; }
.mysn-rules-left { right: auto; left: 14px; }
.mysn-balls { display: flex; flex-wrap: wrap; gap: 10px; }
.mysn-ball { display: inline-block; width: 18px; height: 18px; border-radius: 50%; margin-right: 4px; vertical-align: -3px; box-shadow: inset -3px -3px 5px #0006, inset 2px 2px 3px #fff5; }
.mysn-rules-foot { margin: 14px 0 0; color: #9aa4b2; font-size: 14px; }
/* chat v hre: vľavo, od vrchu po stred obrazovky, najnovšia správa dole */
.mysn-gchat { position: absolute; left: 16px; top: 104px; width: min(460px, 38vw); z-index: 2; pointer-events: none; display: flex; flex-direction: column; font: 500 15px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif; }
.mysn-gchat-list { display: flex; flex-direction: column; justify-content: flex-end; max-height: calc(50vh - 104px); overflow: hidden; }
.mysn-gchat-full .mysn-gchat-list { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 64px); mask-image: linear-gradient(to bottom, transparent 0, #000 64px); }
.mysn-gchat-msg { flex: none; margin-top: 4px; padding: 4px 10px; border-radius: 8px; background: #0c0f14b3; color: #f1f1f1; text-shadow: 0 1px 2px #000; overflow-wrap: anywhere; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.mysn-gchat-msg.mysn-gchat-in { opacity: 1; transform: none; }
/* v hre len posledné 2 správy (staršia polopriehľadná), klik na ne otvorí písanie; pri písaní celá história s posuvníkom */
.mysn-gchat-list > .mysn-gchat-msg:not(:nth-last-child(-n+2)) { display: none; }
.mysn-gchat-list > .mysn-gchat-msg.mysn-gchat-in:nth-last-child(2) { opacity: .55; }
.mysn-gchat-msg { pointer-events: auto; cursor: pointer; }
.mysn-gchat-open .mysn-gchat-list { pointer-events: auto; overflow-y: auto; max-height: min(40vh, 320px); justify-content: flex-start; -webkit-mask-image: none; mask-image: none; padding: 4px 6px 4px 4px; border-radius: 10px; background: #0c0f1480; scrollbar-width: thin; scrollbar-color: #ffd34d99 transparent; overscroll-behavior: contain; }
.mysn-gchat-open .mysn-gchat-list > .mysn-gchat-msg:first-child { margin-top: auto; }
.mysn-gchat-open .mysn-gchat-list > .mysn-gchat-msg.mysn-gchat-msg { display: block; cursor: default; }
.mysn-gchat-open .mysn-gchat-list > .mysn-gchat-msg.mysn-gchat-in { opacity: 1; }
.mysn-gchat-open .mysn-gchat-list::-webkit-scrollbar { width: 8px; }
.mysn-gchat-open .mysn-gchat-list::-webkit-scrollbar-thumb { background: #ffd34d99; border-radius: 4px; }
.mysn-gchat-row { display: flex; gap: 6px; align-items: center; }
.mysn-gchat-row input { flex: 1; min-width: 0; }
.mysn-gchat-x { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 2px solid #ffd34d99; background: #0c0f14e6; color: #fff; font: 700 16px system-ui, sans-serif; cursor: pointer; padding: 0; }
.mysn-gchat-x:hover { background: #ffd34d; color: #111; }
.mysn-gchat-msg b { color: #ffd34d; font-weight: 700; }
.mysn-gchat-mine b { color: #7CFC8A; }
.mysn-gchat-form { margin-top: 6px; pointer-events: auto; }
.mysn-gchat-form input { width: 100%; box-sizing: border-box; padding: 8px 12px; border-radius: 8px; border: 2px solid #ffd34d99; background: #0c0f14e6; color: #fff; font: inherit; outline: none; }
.mysn-gchat-form input:disabled { opacity: .7; }
.mysn-gchat-note { margin-top: 4px; padding: 3px 10px; border-radius: 6px; background: #5a1010d9; color: #fff; font-size: 13px; }
.mysn-gchat-note:empty { display: none; }
.mysn-gchat-pending { opacity: .55 !important; }
.mysn-gchat-mc { background: #0b2a17c7; box-shadow: inset 3px 0 0 #3ddc84; }
.mysn-gchat-tabs { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.mysn-gchat-tabs button { padding: 3px 10px; border-radius: 999px; border: 1px solid #ffffff33; background: #0c0f14cc; color: #cfd3da; font: 600 13px system-ui, sans-serif; cursor: pointer; }
.mysn-gchat-tabs button.on { background: #ffd34d; border-color: #ffd34d; color: #111; }
.mysn-gchat-tabs small { color: #cfd3dacc; font-size: 12px; text-shadow: 0 1px 2px #000; }
/* 0.11.0: overenie serverom */
.mysn-lb-ok { color: #6fcf8f; font-weight: 700; margin-left: 4px; }
.mysn-lb-nv { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 8px; background: #ffffff1a; color: #cfd3da; font-size: 10px; font-weight: 600; vertical-align: middle; }
.mysn-party-ver { margin: 6px 0; font-size: 13px; color: #6fcf8f; }
.mysn-party-ver.bad { color: #ff9b9b; }


/* mobil: stojan s tágami (F2), návrh D – stojan cez celú obrazovku, hore názov, vpravo ikony, panely zdola */
@media (hover: none), (pointer: coarse) {
	.mysn-view.mysn-rack-panel { top: 0; padding: 0; background: none; pointer-events: none; gap: 0; }
	.mysn-view.mysn-rack-panel > h3, .mysn-view.mysn-rack-panel > .mysn-cues { display: none; }
	.mysn-view.mysn-rack-panel .mysn-view-foot { position: absolute; left: 0; right: 0; bottom: 76px; pointer-events: auto; }
	.mysn-view.mysn-rack-panel .mysn-view-foot > span { display: none; }
	.mysn-rack-top { position: absolute; bottom: 8px; left: 8px; right: 8px; display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 12px; background: #0c0f14cc; pointer-events: auto; }
	.mysn-rack-name { flex: 1; min-width: 0; text-align: center; }
	.mysn-rack-name b { display: block; color: #f2d48a; font-size: 16px; }
	.mysn-rack-name span { display: block; font-size: 11.5px; color: #dfe3ea; }
	.mysn-rack-nav { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #ffffffaa; background: #0006; color: #fff; padding: 0; display: flex; align-items: center; justify-content: center; }
	.mysn-rack-nav svg { display: block; }
	.mysn-rack-icons { position: absolute; right: 8px; top: 34%; display: flex; flex-direction: column; gap: 10px; pointer-events: auto; }
	.mysn-rack-ico { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid #ffffffcc; background: #0c0f1499; color: #fff; font: 600 11px system-ui, sans-serif; padding: 0; }
	.mysn-rack-ico:last-child { font: italic 700 18px Georgia, serif; }
	.mysn-rack-ico.mysn-on { border-color: #ffd34d; color: #ffd34d; background: #ffd34d33; }
	.mysn-rack-ico { line-height: 1.15; }
	.mysn-cue-panel { display: none; top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 62%; border-radius: 14px 14px 0 0; padding: 12px 14px 16px; background: #0c0f14f5; z-index: 9; }
	.mysn-cue-panel[data-show] { display: flex; }
	.mysn-cue-panel.mysn-hidden { display: none; }
	.mysn-cue-panel[data-show="tip"] > :not([data-sec="tip"]):not(.mysn-cp-x),
	.mysn-cue-panel[data-show="own"] > :not([data-sec="own"]):not(.mysn-cp-x),
	.mysn-cue-panel[data-show="info"] > :not([data-sec="info"]):not(.mysn-cp-x) { display: none; }
	.mysn-cp-x { align-self: flex-end; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #ffd34d99; background: #0c0f14; color: #fff; font: 700 15px system-ui, sans-serif; padding: 0; margin-bottom: -30px; position: relative; z-index: 1; }
	.mysn-cp-cmp summary { cursor: pointer; padding: 6px 0; color: #f2d48a; font-weight: 700; }
	.mysn-chalks { display: none; }
	.mysn-chalks.mysn-chalks-on { display: block; top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 62%; border-radius: 14px 14px 0 0; z-index: 9; background: #0c0f14f5; }
	.mysn-chalks-x { float: right; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #ffd34d99; background: #0c0f14; color: #fff; font: 700 15px system-ui, sans-serif; padding: 0; }
}

/* mobil: Krieda v hornom paneli sa dá ťuknúť (nakriedovať) */
@media (hover: none), (pointer: coarse) {
	.mysn-stats .mysn-chalk-on, .mysn-stats .mysn-chalk-off { pointer-events: auto; cursor: pointer; text-decoration: underline dotted; }
}

/* mobil: pri skokovom údere ostane popis Skokový úder viditeľný (aj s tlačidlom Do stredu) */
@media (hover: none), (pointer: coarse) {
	.mysn-spin.mysn-spin-off.mysn-spin-jump .mysn-spin-label { display: block; }
}

/* F1 blok na štadióne: listovanie strán */
.mysn-padnav { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); z-index: 8; display: flex; align-items: center; gap: 12px; padding: 6px 10px; border-radius: 24px; background: #0d121be6; border: 1px solid #FACC15aa; pointer-events: auto; font-size: 14px; color: #fff; }
.mysn-padnav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ffffff44; background: #ffffff14; color: #FACC15; font: 700 24px/1 Arial, sans-serif; cursor: pointer; }
/* Telefón Môj účet (0.29.0): aplikácia so záložkami */
.mysn-ph-body { flex: 1; overflow-y: auto; padding: 12px 14px 16px; color: #1d2327; font-size: 14px; }
.mysn-ph-body h4 { margin: 14px 2px 6px; font-size: 13px; color: #5c6270; text-transform: uppercase; letter-spacing: .04em; }
.mysn-ph-head { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0 12px; text-align: center; }
.mysn-ph-head img, .mysn-ph-head i { width: 72px; height: 72px; border-radius: 50%; }
.mysn-ph-head i { display: flex; align-items: center; justify-content: center; background: #FACC15; color: #1d2b45; font: 700 32px/1 Arial, sans-serif; font-style: normal; }
.mysn-ph-head b { font-size: 18px; }
.mysn-ph-head span { color: #5c6270; font-size: 13px; }
.mysn-ph-head em { font-style: normal; font-size: 12px; color: #1d2b45; background: #FACC1533; padding: 2px 8px; border-radius: 10px; }
.mysn-ph-card { background: #fff; border-radius: 14px; padding: 4px 12px; margin-bottom: 10px; box-shadow: 0 1px 3px #0001; }
.mysn-ph-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #eef0f3; font-size: 13px; }
.mysn-ph-row:last-child { border-bottom: 0; }
.mysn-ph-row span { color: #5c6270; }
.mysn-ph-row b { text-align: right; }
.mysn-ph-card summary { padding: 10px 0; cursor: pointer; font-weight: 600; color: #1d2b45; }
.mysn-ph-card form { display: flex; flex-direction: column; gap: 8px; padding: 0 0 12px; }
.mysn-ph-card input { font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid #c9ced6; border-radius: 8px; color: #1d2327; background: #fff; }
.mysn-ph-card small { color: #5c6270; font-size: 11px; }
.mysn-ph-links { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 10px; }
.mysn-ph-links .mysn-btn { text-align: center; text-decoration: none; }
.mysn-ph-links .mysn-ph-out { color: #ff8a8a !important; border-color: #b3121f88; }
.mysn-ph-note { min-height: 0; margin: 0 2px 8px; font-size: 13px; }
.mysn-ph-ok { color: #157a3a; }
.mysn-ph-err { color: #b3121f; }
.mysn-ph-empty { padding: 20px 4px; color: #5c6270; }
.mysn-ph-tabs { display: flex; border-top: 1px solid #dfe2e7; background: #fff; padding-bottom: 6px; }
.mysn-ph-tabs button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; border: 0; background: none; font: inherit; font-size: 11px; color: #5c6270; cursor: pointer; }
.mysn-ph-tabs button span { font-size: 20px; line-height: 1; }
.mysn-ph-tabs button.mysn-on { color: #1d2b45; font-weight: 700; }

.mysn-ph-cue { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 0 12px; }
.mysn-ph-cue svg { width: 100%; height: 26px; }
.mysn-ph-cue b { font-size: 17px; }
.mysn-ph-bar { height: 8px; border-radius: 4px; background: #e5e7eb; margin: 2px 0 8px; overflow: hidden; }
.mysn-ph-bar i { display: block; height: 100%; border-radius: 4px; }
.mysn-ph-hint { margin: 0 0 8px; font-size: 12px; color: #5c6270; }
.mysn-ph-game { padding: 8px 12px; }
.mysn-ph-g1, .mysn-ph-g2 { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mysn-ph-g1 span { font-size: 12px; font-weight: 700; }
.mysn-ph-g2 { margin-top: 4px; font-size: 12px; color: #5c6270; }
.mysn-ph-g2 b { color: #1d2327; font-size: 15px; }
.mysn-ph-tabs button { font-size: 10px; }
/* 0.31.1: farba LED podsvietenia stojana (F2) */
.mysn-rackled { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 8px 0 2px; font-size: 12px; font-weight: 600; color: #e8eefc; pointer-events: auto; }
.mysn-rackled > span { margin-right: 4px; }
.mysn-rackled-b { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #ffffff40; padding: 0; cursor: pointer; color: #ddd; font: 700 11px system-ui, sans-serif; line-height: 18px; box-shadow: 0 1px 4px #0008; -webkit-tap-highlight-color: transparent; }
.mysn-rackled-b:hover { border-color: #ffffffb0; }
.mysn-rackled-b.mysn-on { border-color: #ffd34d; box-shadow: 0 0 0 2px #ffd34d80, 0 0 10px #ffd34d60; }
/* 0.31.7: schovanie chatu šípkou (Nastavenia: Chat v hre) */
.mysn-gchat { position: absolute; }
.mysn-gchat-tog { position: absolute; left: -16px; top: 0; width: 16px; height: 34px; padding: 0; border: 0; border-radius: 0 8px 8px 0; background: #0c0f14b3; color: #ffd34d; font: 700 16px system-ui, sans-serif; cursor: pointer; pointer-events: auto; display: flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
.mysn-gchat-tog:hover { background: #ffd34d; color: #111; }
.mysn-gchat-tog i { font-style: normal; line-height: 1; }
.mysn-gchat-tog em { position: absolute; left: 12px; top: -6px; min-width: 16px; height: 16px; padding: 0 3px; box-sizing: border-box; border-radius: 8px; background: #dc2626; color: #fff; font: 700 10px/16px system-ui, sans-serif; font-style: normal; text-align: center; }
.mysn-gchat-tog em:empty { display: none; }
.mysn-gchat-col .mysn-gchat-tog { width: 26px; left: -16px; border-radius: 0 10px 10px 0; }
.mysn-gchat-col:not(.mysn-gchat-open):not(.mysn-gchat-peek) .mysn-gchat-list { display: none; }
@media (pointer: coarse) { .mysn-gchat-tog { height: 40px; width: 20px; } .mysn-gchat-col .mysn-gchat-tog { width: 32px; } }
.mysn-gchat-empty:not(.mysn-gchat-open) .mysn-gchat-tog { display: none; }
/* 0.47.4 telefón (nie tablet): náhľad zásahu vždy plne viditeľný, veľkosť podľa otočenia (na výšku menší); PC bez zmeny */
@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape) {
	.mysn-contact canvas, .mysn-contact.mysn-contact-topright canvas { width: 92px !important; height: 92px !important; }
	.mysn-contact-info { font-size: 10px; padding: 2px 7px; }
	.mysn-ui.mysn-aiming .mysn-contact { transform: none !important; } /* už je malý, pri mierení sa ďalej nezmenšuje */
}
@media (pointer: coarse) and (max-width: 500px) and (orientation: portrait) {
	.mysn-contact canvas, .mysn-contact.mysn-contact-topright canvas { width: 70px !important; height: 70px !important; }
	.mysn-contact-info { font-size: 9px; padding: 1px 6px; }
	.mysn-ui.mysn-aiming .mysn-contact { transform: none !important; }
}
/* 0.46.4 mobil: chat ako biela ikonka, otvorený na celú obrazovku na priehľadnom čiernom pozadí */
.mysn-gchat-ico { position: absolute; left: 8px; bottom: min(496px, calc(100% - 104px)); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #ffffffcc; background: #ffffff26; color: #fff; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; } /* 0.46.5: rovnaký štýl ako ostatné tlačidlá vľavo, úplne hore nad nimi */
.mysn-ui.mysn-tools-open .mysn-gchat-ico { bottom: min(668px, calc(100% - 104px)); }
.mysn-ui.mysn-viewing .mysn-gchat-ico { display: none; }
.mysn-gchat-ico em { position: absolute; right: -4px; top: -4px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 9px; background: #dc2626; color: #fff; font: 700 11px/18px system-ui, sans-serif; font-style: normal; text-align: center; }
.mysn-gchat-ico em:empty { display: none; }
.mysn-gchat-ico.mysn-gchat-bump { animation: mysn-bump .5s; }
@keyframes mysn-bump { 30% { transform: scale(1.25); } 60% { transform: scale(.95); } }
.mysn-gchat-mob .mysn-gchat-tog { display: none; }
.mysn-gchat-mob:not(.mysn-gchat-open) { left: 64px; top: auto; bottom: min(496px, calc(100% - 104px)); width: min(300px, 60vw); } /* náhľad novej správy vedľa ikonky */
.mysn-gchat-mob:not(.mysn-gchat-open):not(.mysn-gchat-peek) .mysn-gchat-list { display: none; }
.mysn-gchat-mob.mysn-gchat-peek:not(.mysn-gchat-open) .mysn-gchat-list > .mysn-gchat-msg:not(:last-child) { display: none; }
.mysn-gchat-mob.mysn-gchat-open { position: fixed; inset: 0; width: auto; z-index: 60; padding: 12px 12px calc(10px + env(safe-area-inset-bottom)); background: #000000c7; font-size: 16px; }
.mysn-gchat-mob.mysn-gchat-open .mysn-gchat-list { flex: 1; max-height: none; background: transparent; padding: 0 4px; }
.mysn-gchat-mob.mysn-gchat-open .mysn-gchat-msg { background: #ffffff14; padding: 6px 12px; }
.mysn-gchat-mob.mysn-gchat-open .mysn-gchat-x { width: 44px; height: 44px; font-size: 18px; }
.mysn-gchat-mob.mysn-gchat-open .mysn-gchat-form input { padding: 11px 14px; font-size: 16px; }
.mysn-ui:has(.mysn-gchat-mob.mysn-gchat-open) .mysn-gchat-ico { display: none; }
/* 0.32.0: Skúsenosti a Úspechy */
.mysn-ach-lv { display: flex; align-items: center; gap: 12px; margin: 4px 0 8px; }
.mysn-ach-lvn { flex: none; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe27a, #e8b923 60%, #a57a10); color: #2a1d00; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 2px 8px #0008; }
.mysn-ach-lvn span { font-size: 10px; font-weight: 700; text-transform: uppercase; }
.mysn-ach-lvn b { font-size: 24px; line-height: 1; }
.mysn-ach-xp { flex: 1; min-width: 0; }
.mysn-ach-xp b { font-size: 16px; }
.mysn-ach-xp small { color: #aab3c2; font-size: 11px; }
.mysn-ach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mysn-ach-cell { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 2px; border-radius: 10px; background: #ffffff0d; }
.mysn-ach-cell b { font-size: 11.5px; line-height: 1.2; margin-top: 3px; }
.mysn-ach-cell span { font-size: 10.5px; color: #cfd6e2; }
.mysn-ach-cell small { font-size: 10px; color: #8f99a8; }
.mysn-ach-off { filter: grayscale(1) brightness(.75); opacity: .75; }
.mysn-ach-pop { position: absolute; left: 50%; top: 86px; z-index: 30; display: flex; align-items: center; gap: 12px; max-width: min(440px, 92vw); padding: 10px 16px 10px 10px; border-radius: 14px; background: #0c0f14eb; border: 2px solid #ffd34d; color: #fff; box-shadow: 0 6px 24px #000a, 0 0 24px #ffd34d40; transform: translate(-50%, -20px) scale(.9); opacity: 0; transition: transform .35s cubic-bezier(.2,1.4,.4,1), opacity .3s; pointer-events: none; font-family: system-ui, sans-serif; }
.mysn-ach-pop.mysn-on { transform: translate(-50%, 0) scale(1); opacity: 1; }
.mysn-ach-pop span { display: block; font-size: 12px; color: #ffd34d; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.mysn-ach-pop b { display: block; font-size: 18px; }
.mysn-ach-pop small { display: block; font-size: 12px; color: #c9d1dc; }
.mysn-ach-lvbig { flex: none; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe27a, #e8b923 60%, #a57a10); color: #2a1d00; font: 800 26px system-ui, sans-serif; display: flex; align-items: center; justify-content: center; }
/* 0.32.1: kriedové písmo Caveat (OFL, assets/fonts) pre tabuľu úspechov */
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/caveat-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/caveat-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/caveat-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/caveat-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Kaushan Script'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/kaushan-script-latin-400-normal.woff2) format('woff2'); } /* neón My Snooker (0.32.2) */
/* 0.32.2: popis úspechu pri kriedovej tabuli (moderná kriedová karta) */
.mysn-achtip { position: absolute; z-index: 25; width: 300px; box-sizing: border-box; padding: 12px 14px 10px; border-radius: 14px; background: #1f2b26f2; border: 1.5px solid #f1efe655; box-shadow: 0 10px 30px #000b, inset 0 0 40px #ffffff08; color: #f1efe6; font-family: Caveat, "Segoe Print", cursive; pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; }
.mysn-achtip.mysn-on { opacity: 1; transform: none; }
.mysn-achtip-h { display: flex; align-items: center; gap: 10px; }
.mysn-achtip-h b { display: block; font-size: 28px; font-weight: 700; line-height: 1; }
.mysn-achtip-h span { font-size: 19px; color: #ffe27a; }
.mysn-achtip p { margin: 8px 0 6px; font-size: 20px; line-height: 1.15; }
.mysn-achtip ul { list-style: none; margin: 0; padding: 6px 0 0; border-top: 1px dashed #f1efe655; }
.mysn-achtip li { display: flex; align-items: center; gap: 8px; font-size: 19px; opacity: .6; }
.mysn-achtip li i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.mysn-achtip li b { margin-left: auto; font-weight: 700; }
.mysn-achtip li em { font-style: normal; color: #ffe27a; min-width: 56px; text-align: right; }
.mysn-achtip li.mysn-done, .mysn-achtip li.mysn-next { opacity: 1; }
.mysn-achtip li.mysn-done em { color: #7CFC8A; }
/* 0.43.0: jazyk hry v hlavnom menu */
.mysn-menu-lang { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: -4px 0 12px; font-size: 12px; }
.mysn-menu-lang span { opacity: .65; margin-right: 4px; }
.mysn-lang-btn { background: rgba(255,255,255,.08); color: inherit; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; padding: 4px 10px; font: inherit; cursor: pointer; }
.mysn-lang-btn:hover { background: rgba(255,255,255,.16); }
.mysn-lang-btn.mysn-on { background: #FACC15; color: #111; border-color: #FACC15; font-weight: 700; cursor: default; }
/* 0.44.0: žreb pred zápasom (kameň, papier, nožnice) */
.mysn-pre { top: 18%; width: min(480px, calc(100% - 32px)); }
.mysn-pre .mysn-choice-b button { background: #1e2a40; color: #fff; border-color: #ffffff33; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mysn-pre .mysn-choice-b button:first-child { background: #facc15; color: #111; border-color: #facc15; }
.mysn-pre .mysn-choice-b button:hover { background: #facc15; color: #111; }
.mysn-pre-ico { font-size: 30px; line-height: 1.1; }
.mysn-pre-last { margin: 8px 0 2px; font-size: 18px; color: #fff; }
.mysn-pre-wait { margin: 12px 0 8px; color: #facc15; font-size: 14px; }
.mysn-pre-rudo { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: #e6eae2; cursor: pointer; }
.mysn-pre-rudo input { accent-color: #facc15; }
