/* Oyster2 web (T7.3) - forms, messages and GM panel bits on top of /static/oyster.css (same palette / font). */
.small { font-size: 12px; }
.flash { margin: 0 0 16px; padding: 10px 14px; border-radius: 3px; border: 1px solid #4f565d; background: #1c2023; }
.flash.ok { border-color: #3f7a52; color: var(--ok); box-shadow: 0 0 12px rgba(127, 217, 154, .12); }
.flash.error { border-color: #8a4a40; color: var(--bad); box-shadow: 0 0 12px rgba(228, 138, 124, .12); }

form.form { display: grid; gap: 12px; max-width: 460px; }
form.form.wide { max-width: none; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); align-items: end; }
form.form label, .captcha label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
input[type=text], input[type=password], input[type=email], input[type=number], input[type=date], input[type=time],
input:not([type]), select, textarea {
	width: 100%;
	padding: 8px 10px;
	color: var(--text);
	font: 14px var(--sans);
	background: #0f1113;
	border: 1px solid #4f565d;
	border-radius: 3px;
}
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--mist); box-shadow: 0 0 10px var(--mist-soft); }
label.check { display: flex !important; gap: 8px; align-items: center; color: var(--text) !important; }
label.check input { width: auto; }
button.btn { width: 100%; cursor: pointer; font-family: var(--serif); }
.btn.inline, button.btn.inline { display: inline-block; width: auto; margin: 0 6px 6px 0; padding: 6px 12px; }
.btn.subtle { color: #e9d3aa; background: linear-gradient(#3a3f44, #24282c); border-color: #5d646b; }
.btn.danger { color: #fff; background: linear-gradient(#b0564a, #7a3027); border-color: #4a1c16; }
.inline-form { display: inline; }
.inline-form .confirm { font-size: 12px; color: var(--muted); margin-right: 6px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.captcha { display: grid; gap: 6px; }
.captcha img { border: 1px solid #3b4146; border-radius: 3px; background: #0f1113; }

.packages { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.package { padding: 14px 10px; text-align: center; border: 1px solid #4f565d; border-radius: 4px;
	background: linear-gradient(#2b2f33, #1b1e21); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.package .pln { font: 600 24px/1.2 var(--serif); color: #eef3f6; }
.package .sm { color: var(--gold); font-weight: 700; }
.package .bonus { color: var(--ok); font-size: 12px; min-height: 1.4em; }
.package label { display: block; cursor: pointer; }
.package input { margin-top: 8px; }

table.kv td:first-child { color: var(--muted); width: 38%; }
.tag { display: inline-block; padding: 1px 7px; border-radius: 9px; font-size: 12px; border: 1px solid #4f565d; }
.tag.ok { color: var(--ok); border-color: #3f7a52; }
.tag.bad { color: var(--bad); border-color: #8a4a40; }
.tag.warn { color: var(--gold); border-color: var(--gold-dark); }
.mono, pre.log { font-family: Consolas, "DejaVu Sans Mono", monospace; font-size: 12px; }
pre.log { max-height: 640px; overflow: auto; padding: 10px; background: #0b0d0f; border: 1px solid #3b4146; border-radius: 3px; white-space: pre-wrap; word-break: break-all; }
.attrs { margin: 0; padding: 0; list-style: none; font-size: 12px; color: var(--mist); }
.secret { font-family: Consolas, monospace; font-size: 16px; color: var(--gold); padding: 6px 10px; background: #0b0d0f; border: 1px dashed var(--gold-dark); display: inline-block; }
.gm .navbtn { padding: 6px 8px; margin: 5px 2px; font-size: 13px; }
.gm .menu .group { margin: 12px 0 2px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.gm .layout { grid-template-columns: 210px minmax(0, 1fr); max-width: 1400px; }
.gm .col-main { min-width: 0; }
details summary { cursor: pointer; color: var(--gold); }
form.form.free { max-width: none; }
.gm .col-right { display: none; }
.gm .menu .who { text-align: center; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
mark.ph { background: rgba(228, 138, 124, .18); color: var(--bad); padding: 0 4px; border-radius: 2px; }
.legal ol { margin: 0; padding-left: 22px; }
.legal li { margin-bottom: 7px; }
.navbtn.gmnav { border-color: var(--gold); color: #fff4dc; }
/* GM panel hover help: "i" icons (CSS tooltip on hover AND keyboard focus) + description lines under selects */
.hint { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 5px;
	border-radius: 50%; font: 700 11px/1 var(--sans); font-style: normal; color: #0b0d0f; background: var(--mist); cursor: help; vertical-align: middle; flex: none; }
.hint:hover::after, .hint:focus::after { content: attr(data-tip); position: absolute; z-index: 50; left: 50%; bottom: 135%; transform: translateX(-50%);
	width: max-content; max-width: 320px; padding: 8px 10px; white-space: normal; text-align: left; font: 400 12px/1.45 var(--sans);
	color: var(--text); background: #15181b; border: 1px solid var(--gold-dark); border-radius: 3px; box-shadow: 0 6px 18px rgba(0, 0, 0, .65); }
.hint:hover::before, .hint:focus::before { content: ""; position: absolute; z-index: 51; left: 50%; bottom: 105%; transform: translateX(-50%);
	border: 6px solid transparent; border-top-color: var(--gold-dark); }
.hint:focus { outline: 1px solid var(--gold); }
.help-line { margin-top: 2px; font-size: 12px; line-height: 1.45; color: var(--mist); min-height: 1.45em; }
table.legend td:first-child { white-space: nowrap; color: var(--gold); }
/* T9.3 Battle Pass editor (/gm/battlepass): season tabs, 30-day grid (cards like the in-game window), preview */
.bp-seasons { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; }
.bp-season { display: grid; gap: 2px; padding: 8px 10px; border: 1px solid #4f565d; border-radius: 3px; background: #15181b; color: var(--text); text-decoration: none; }
.bp-season span { font-size: 12px; color: var(--muted); }
.bp-season.current { border-color: #3f7a52; }
.bp-season.past { opacity: .65; }
.bp-season.active { border-color: var(--gold); box-shadow: 0 0 10px rgba(232, 196, 120, .18); }
.bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.bp-day { display: grid; gap: 6px; align-content: start; padding: 8px; border: 1px solid #4f565d; border-radius: 3px; background: linear-gradient(#22262a, #181b1e); }
.bp-day.inherited { background: #131618; }
.bp-day.milestone { border-color: var(--gold-dark); box-shadow: inset 0 0 0 1px var(--gold-dark); }
.bp-day.today { box-shadow: 0 0 0 2px #3f7a52; }
.bp-day.selected { outline: 2px solid var(--gold); }
.bp-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bp-num { font-family: var(--serif); color: var(--gold); margin-right: auto; }
.bp-item { display: flex; gap: 8px; align-items: flex-start; }
.bp-slot { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; font: 11px Consolas, monospace;
	color: var(--mist); background: #0b0d0f; border: 1px solid #5d646b; border-radius: 2px; box-shadow: inset 0 0 6px rgba(0, 0, 0, .8); }
.bp-name { color: #eef3f6; font-size: 13px; }
.bp-actions .inline-form .btn, .bp-actions .btn { margin: 0 4px 0 0; padding: 3px 8px; font-size: 12px; }
.bp-preview { display: grid; gap: 8px; margin-top: 12px; padding: 10px; border: 1px dashed var(--gold-dark); border-radius: 3px; }
.bp-pair { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 280px)); gap: 8px; }
/* "Pobierz" page (/pobierz) */
.btn.download-btn { display: block; max-width: 460px; margin: 4px 0 14px; padding: 12px 16px; font-size: 18px; text-align: center; }
table.download-meta td.sha { word-break: break-all; }
ol.steps { margin: 0; padding-left: 22px; }
ol.steps li { margin-bottom: 8px; }
/* audit 2026-11-22: Event Manager fields of the calendar form */
.em-box { margin: 12px 0; padding: 8px 12px 4px; border: 1px solid #3a4046; border-radius: 3px; }
.em-box legend { padding: 0 6px; color: var(--gold); }
.em-warn { color: var(--bad); }
