/* Gothic Remake: autorska skórka RPG oraz katalog minigier. Nie zmienia stylów starych gier. */
:root { --gold:#dfbe79; --gold-bright:#f4dda8; --gold-muted:#a2844d; --stone:#242721; --stone-border:#625841; --ink:#0e1211; --fog:#c7c6b8; --text:#eee8d8; --danger:#b95045; --ok:#75b58b; }
html { scroll-behavior:smooth; scroll-padding-top:85px; }
body { color:var(--text); background: #0b0e0e url('assets/tlo.jpg') center top / cover fixed no-repeat; font-family:'Trebuchet MS',system-ui,sans-serif; }
body::before { content:''; position:fixed; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(90deg,rgba(8,10,9,.96) 0%,rgba(8,10,9,.82) 50%,rgba(8,10,9,.9) 100%),radial-gradient(circle at 75% 24%,rgba(175,133,63,.17),transparent 45%); }
main { position:relative; overflow:hidden; }
a { color:var(--gold); }
a:hover { color:var(--gold-bright); }
button { border-radius:4px; font-family:inherit; }
:focus-visible { outline:2px solid #ffe1a1; outline-offset:3px; }
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
[hidden] { display:none!important; }
.site-header { position:sticky; top:0; z-index:1000; display:flex; align-items:center; justify-content:space-between; min-height:76px; gap:18px; padding:13px clamp(18px,5vw,85px); background:rgba(12,16,15,.95); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border-bottom:1px solid rgba(213,179,111,.32); box-shadow:0 10px 30px #0005; }
.site-header::after { content:''; position:absolute; left:2%; right:2%; bottom:-3px; height:1px; background:linear-gradient(90deg,transparent,rgba(223,190,121,.6),transparent); pointer-events:none; }
.site-logo { display:flex; align-items:center; gap:12px; flex-shrink:0; color:#f0e1bd; }
.site-logo:hover { color:#fff4d4; }
.site-logo__rune { display:grid; place-items:center; width:42px; height:42px; border:1px solid #927c50; background:radial-gradient(#66542f66,#141918); box-shadow:inset 0 0 0 3px #171c1a; font-family:Georgia,serif; font-size:26px; }
.site-logo strong { display:block; font-family:Georgia,serif; letter-spacing:4px; font-size:23px; line-height:1.1; }
.site-logo small { display:block; margin-top:4px; letter-spacing:2px; font-size:9px; color:#aaa28b; }
.site-nav { display:flex; align-items:center; gap:clamp(12px,3vw,36px); }
.site-nav a { color:#e2dfd0; text-transform:uppercase; letter-spacing:1.4px; font-size:12px; font-weight:700; }
.site-nav a:hover { color:var(--gold-bright); }
.site-online { border:1px solid #786641; color:var(--gold-bright); padding:11px 17px; font-size:12px; font-weight:800; letter-spacing:.5px; white-space:nowrap; }
.site-online:hover { background:#c7a65e22; }
.gothic-hero { min-height:665px; position:relative; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr); align-items:center; gap:clamp(30px,6vw,90px); padding:115px clamp(20px,7vw,115px) 112px; background:linear-gradient(90deg,rgba(8,12,11,.97) 0%,rgba(8,12,11,.72) 61%,rgba(8,12,11,.83) 100%),url('assets/tlo.jpg') center/cover no-repeat; border-bottom:1px solid #88744b66; }
.gothic-hero::before { content:'ᛟ'; position:absolute; right:-15px; bottom:-80px; font:420px/1 Georgia,serif; color:#d2b5780d; pointer-events:none; }
.gothic-hero::after { content:''; position:absolute; bottom:0; left:10%; right:10%; height:1px; background:linear-gradient(90deg,transparent,#c9a861a8,transparent); }
.hero-copy { position:relative; z-index:1; max-width:760px; }
.eyebrow { display:inline-block; color:var(--gold); letter-spacing:3px; font-size:11px; font-weight:800; text-transform:uppercase; }
.hero-copy .eyebrow { border-bottom:1px solid rgba(198,164,92,.38); padding-bottom:12px; }
.hero-copy h1, .section-heading h2 { font-family:Georgia,'Times New Roman',serif; font-weight:normal; letter-spacing:-1.5px; }
.hero-copy h1 { margin:25px 0 21px; max-width:720px; font-size:clamp(44px,5.4vw,83px); line-height:1.04; text-wrap:balance; text-shadow:0 5px 32px #000; }
.hero-copy h1 em,.section-heading h2 em { color:var(--gold); font-style:normal; }
.hero-copy > p { max-width:590px; color:#c9c7ba; font-size:clamp(15px,1.6vw,18px); line-height:1.7; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin-top:34px; }
.gold-button,.ghost-button { display:inline-flex; gap:18px; align-items:center; justify-content:center; padding:14px 22px; border-radius:3px; font-size:13px; font-weight:800; letter-spacing:.65px; }
.gold-button { color:#20180d; background:linear-gradient(125deg,#f0d497,#b99b5a); border:1px solid #f5daa1; box-shadow:0 6px 23px #0c0b0740; }
.gold-button:hover { color:#0b0904; filter:brightness(1.1); }
.ghost-button { border:1px solid #817359; color:#e9ddc0; background:#131614a0; }
.ghost-button:hover { background:#b9a06a28; color:#fff; }
.hero-facts { display:flex; gap:24px; flex-wrap:wrap; margin-top:51px; border-top:1px solid #c8b27f32; padding-top:22px; color:#aca89a; text-transform:uppercase; font-size:11px; letter-spacing:1px; }
.hero-facts span+span { border-left:1px solid #7f704a73; padding-left:24px; }
.hero-facts strong { font-family:Georgia,serif; font-weight:normal; font-size:23px; color:#e8d6a7; margin-right:8px; }
.release-box.box { background:linear-gradient(145deg,#242a26fa,#131816f5); border:1px solid #81714b; border-radius:3px; padding:43px 30px 26px; width:100%; max-width:490px; justify-self:end; text-align:center; box-shadow:0 30px 60px #0008,inset 0 0 0 4px #0b0d0daa,inset 0 0 0 5px #c19d4c3d; position:relative; }
.release-box::before,.release-box::after { content:'◆'; position:absolute; top:9px; color:#b39b68; font-size:10px; }
.release-box::before { left:12px; }.release-box::after {right:12px;}
.release-box__eyebrow { font-size:10px; letter-spacing:3px; color:#cdb47c; }
.release-box h2 { margin:20px auto 14px; color:#eae2d2; font:normal clamp(22px,2.4vw,31px)/1.3 Georgia,serif; }
.release-box #countdown { font:normal clamp(22px,2.3vw,30px)/1.3 Georgia,serif; color:#e4c886; overflow-wrap:anywhere; letter-spacing:0; }
.release-date { color:#a9ab9e; margin-top:14px; font-size:13px; line-height:1.5; }
.release-box #soundBtn { display:block; margin:15px auto 0; }
.release-box .releaseLink { margin-top:22px; background:#af925d20; border-color:#ad9568; border-radius:2px; }
.release-box__bottom { border-top:1px solid #bfaa7750; margin-top:30px; padding-top:18px; font-size:12px; }
.games-section,.community-section { position:relative; padding:90px clamp(20px,7vw,115px) 95px; background:linear-gradient(180deg,#101514,#111615 75%,#0d1211); }
.games-section::before { content:''; position:absolute; inset:0; pointer-events:none; opacity:.19; background-image:linear-gradient(45deg,transparent 49%,#bdab8040 49.6%,transparent 50.2%); background-size:100px 100px; mask-image:linear-gradient(to bottom,#000,transparent 65%); }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:18px; position:relative; margin-bottom:30px; }
.section-heading h2 { font-size:clamp(37px,4vw,57px); margin:10px 0; }
.section-heading p { color:#aaa99e; margin:4px 0 0; font-size:15px; }
.section-counter { padding:10px 15px; color:#c1aa7c; border:1px solid #756342; font:18px Georgia,serif; letter-spacing:2px; white-space:nowrap; }
.catalog-toolbar { display:flex; justify-content:space-between; align-items:center; gap:15px; flex-wrap:wrap; position:relative; }
.game-filters { display:flex; flex-wrap:wrap; gap:5px; }
.game-filters button { background:#1b211e; color:#b8b8aa; border:1px solid #41473c; border-radius:2px; font-size:12px; padding:11px 14px; font-weight:700; }
.game-filters button:hover,.game-filters button.is-active { background:#b69b5a; color:#171c19; border-color:#dbc27e; }
.game-filters button span { margin-left:5px; opacity:.8; }
.catalog-search { background:#191f1c; border:1px solid #4c5044; padding:0 12px; display:flex; align-items:center; gap:8px; color:#e0ce9d; min-height:42px; }
.catalog-search > span[aria-hidden] {font-size:26px;line-height:1;}
.catalog-search input { color:#eee7d8; border:0; background:transparent; width:190px; outline:0; min-width:0; font:14px system-ui,sans-serif; }
.catalog-search:focus-within { border-color:#dabf79; }
.catalog-search input::placeholder { color:#928f85; }
.catalog-status { margin:16px 0 17px; color:#928f86; font-size:12px; }
.games-grid { position:relative; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.game-card { position:relative; min-width:0; display:flex; flex-direction:column; background:linear-gradient(160deg,#232a26,#171e1b 75%); border:1px solid #4b5043; box-shadow:0 14px 30px #0005,inset 0 0 0 3px #0e1411; border-radius:3px; overflow:hidden; transition:transform .2s,border-color .2s,box-shadow .2s; }
.game-card:hover { border-color:#b79c61; transform:translateY(-5px); box-shadow:0 21px 44px #0009,inset 0 0 0 3px #0e1411; }
.game-card__visual { height:166px; position:relative; overflow:hidden; background:radial-gradient(circle at center,#545747,#161c18); border-bottom:1px solid #9180527e; }
.game-card__visual::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,#07100a08 28%,#0b1210bd); pointer-events:none; }
.game-card__visual img { width:100%; height:100%; object-fit:cover; object-position:center; filter:saturate(.75) contrast(1.12) brightness(.72); transition:transform .35s,filter .35s; }
.game-card:hover .game-card__visual img { transform:scale(1.055); filter:saturate(.9) brightness(.9); }
.game-card__visual img[src$='point.png'],.game-card__visual img[src$='kretoszczur.png'],.game-card__visual img[src$='smuggler.png'],.game-card__visual img[src$='cien.png'],.game-card__visual img[src$='thorus.png'],.game-card__visual img[src$='xardas.png'] { object-fit:contain; padding:5px; }
.game-card__symbol { position:absolute; left:14px; bottom:12px; z-index:1; color:#eee0ad; font-size:21px; text-shadow:0 2px 9px #000; }
.game-card__new { position:absolute; right:11px; top:11px; z-index:1; border:1px solid #edd5a1; background:#bea065; color:#161913; padding:5px 9px; font:800 10px system-ui,sans-serif; letter-spacing:1px; }
.game-card__body { display:flex; flex-direction:column; flex:1; padding:18px 18px 17px; }
.game-card__type { color:#bcaa80; text-transform:uppercase; letter-spacing:1.7px; font-weight:800; font-size:10px; }
.game-card h3 { font:normal 22px/1.15 Georgia,serif; margin:10px 0 11px; color:#eee7d4; }
.game-card p { color:#b4b7ac; margin:0 0 19px; line-height:1.5; font-size:12px; flex:1; }
.game-card__play { display:flex; align-items:center; justify-content:space-between; color:#e9cb89; border-top:1px solid #6a645080; padding:12px 0 0; font-size:12px; font-weight:800; letter-spacing:1px; }
.game-card__play span { font-size:17px; }
.game-card__play:hover { color:#fff0b7; }
.catalog-empty { border:1px solid #81714b; padding:20px; color:#e4d3ad; text-align:center; }
.community-section { background:linear-gradient(150deg,#151c19,#0c1110); border-top:1px solid #74623c88; }
.community-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr); gap:24px; }
.community-grid .comments-sidebar,.community-promo { width:100%; max-height:none; overflow:visible; background:#1b231e; border:1px solid #696043; border-radius:3px; box-shadow:inset 0 0 0 3px #101713,0 14px 35px #0006; padding:26px; color:#e4dfcf; }
.community-grid .comments-sidebar h3,.community-promo h3 { font:normal 28px Georgia,serif; color:#ead39c; margin:0 0 20px; }
.community-grid #commentForm { display:flex; flex-direction:column; gap:12px; margin-bottom:22px; }
.community-grid #commentForm input,.community-grid #commentForm textarea { width:100%; min-width:0; background:#0f1512; border:1px solid #56533f; border-radius:2px; color:#eee; padding:12px; resize:vertical; font:14px inherit; }
.community-grid #commentForm .gold-button { align-self:flex-start; }
.community-grid #commentsList { display:flex; flex-direction:column; gap:10px; max-height:475px; overflow-y:auto; text-align:left; padding-right:3px; }
.community-promo { display:flex; flex-direction:column; }
.community-promo h3 { font-size:34px; margin:16px 0; }
.community-promo p { color:#bebcaa; line-height:1.7; margin:0 0 20px; }
.community-promo .yt-link-wrapper { display:block; margin-top:auto; align-self:center; max-width:100%; }
.community-promo .yt-promo-img { max-width:100%; height:auto; max-height:350px; object-fit:cover; border:1px solid #7c6941; border-radius:2px; }
footer.copyright { position:relative; bottom:auto; background:#070b0a; color:#9f9e91; padding:24px clamp(20px,7vw,115px); display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; text-align:left; border-top:1px solid #564c30; opacity:1; font-size:12px; }
footer.copyright a { color:#c3a96e; }
/* Każdy modal, także te istniejące, otrzymuje spójne kamienne obramowanie. */
.modal { background:rgba(4,6,6,.84); backdrop-filter:blur(3px); }
.modalBox { border-radius:3px; border:1px solid #8c794f; background:linear-gradient(145deg,#222824,#101513); box-shadow:0 25px 70px #000d,inset 0 0 0 3px #0b1110,inset 0 0 0 4px #a48b5233; color:#e9e5d9; }
.modalTop { border-bottom:1px solid #8e795452; padding-bottom:11px; margin-bottom:17px; }
.modalTop strong { color:#ead3a0; font:normal 23px Georgia,serif; }
.modalTop button { border:1px solid #877652; border-radius:2px; background:#252a23; color:#f2e6c6; padding:8px 13px; }
.modalTop button:hover { background:#45422f; }
/* Nowe gry — karty i panele */
.new-game-modal { width:min(800px,100%); max-height:min(94dvh,900px); overflow:auto; padding:20px 24px 16px; }
.new-game-intro { color:#bfbeb0; font-size:13px; line-height:1.65; margin:0 0 14px; }
.new-game-stats { display:flex; justify-content:space-around; gap:6px; flex-wrap:wrap; padding:12px 9px; border:1px solid #5b5541; background:#0c120f; margin:12px 0 18px; }
.new-game-stats > span { color:#aea99a; font-size:12px; display:flex; align-items:center; gap:6px; }
.new-game-stats strong { color:#f4d28d; font-size:17px; }
.game-feedback { color:#e3cd93; min-height:20px; font-weight:700; text-align:center; line-height:1.5; }
.new-game-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:17px; border-top:1px solid #645b41; padding-top:14px; color:#aaa99a; font-size:12px; }
.new-game-bottom > span { flex:1; }
.new-game-bottom button { background:#c2a66a; border:1px solid #e5cb92; color:#141915; border-radius:2px; }
.new-game-bottom button:hover { background:#edd29b; }
.new-game-modal .hint { color:#8e978a; font-size:11px; text-align:center; }
.lock-area { border:1px solid #6d654d; background:radial-gradient(ellipse at 50% 38%,#353b31,#101613 75%); padding:22px 16px 25px; text-align:center; }
.lock-icon { display:grid; margin:4px auto 12px; width:90px; height:90px; place-items:center; border-radius:50%; border:4px double #bea56d; color:#d6b87c; font-size:54px; box-shadow:0 0 0 8px #1b201c,0 5px 25px #0007; }
.lock-slots { display:flex; justify-content:center; align-items:center; gap:8px; margin:20px auto 16px; }
.lock-slot { display:grid; place-items:center; width:46px; height:46px; border:1px solid #716848; background:#151c18; color:#8a8674; font-size:20px; }
.lock-slot.is-solved { color:#ffe2a0; background:#524832; border-color:#e0bb76; box-shadow:inset 0 0 14px #ddbd5724; }
.lock-buttons { display:grid; grid-template-columns:1fr 1fr; gap:12px; max-width:430px; margin:19px auto 0; }
.lock-buttons button { font-size:14px; padding:17px 9px; color:#f5dfa8; border:1px solid #aa9057; background:linear-gradient(120deg,#343729,#151b17); }
.lock-buttons button:hover { background:#524a30; }
.lock-buttons button:disabled { cursor:not-allowed; opacity:.45; }
.lock-buttons button small { display:block; font-size:10px; color:#a9a899; font-weight:normal; padding-top:6px; }
.arena-stage { display:grid; grid-template-columns:minmax(0,1fr) 65px minmax(0,1fr); gap:10px; align-items:center; border:1px solid #625a42; padding:12px; background:linear-gradient(135deg,#282c24c9,#121915 80%),url('assets/sciana.jpg') center/cover; }
.arena-fighter { display:flex; flex-direction:column; align-items:center; gap:7px; min-width:0; }
.fighter-img { width:min(100%,185px); height:155px; display:flex; justify-content:center; align-items:center; border-bottom:2px solid #85714c; background:radial-gradient(ellipse at bottom,#736b4e80,transparent 65%); }
.fighter-img img { max-width:95%; max-height:100%; object-fit:contain; filter:drop-shadow(0 10px 4px #000a); }
.arena-fighter > strong { font:normal 18px Georgia,serif; color:#f3dfb2; text-align:center; }
.arena-fighter > small { font-size:11px; color:#c7b99b; }
.arena-versus { font:italic 34px Georgia,serif; color:#d7b87c; text-align:center; text-shadow:0 0 18px #977a3973; }
.healthbar { width:100%; height:14px; max-width:210px; border:1px solid #8f785b; background:#291f1f; padding:2px; }
.healthbar span { display:block; width:100%; height:100%; background:linear-gradient(90deg,#4e8d63,#83c795); transition:width .25s; }
.healthbar-enemy span {background:linear-gradient(90deg,#ad4640,#e58462); }
.arena-intent { padding:12px; color:#ffdf9d; font-weight:700; background:#927e4720; border:1px solid #796842; margin:12px 0; text-align:center; font-size:13px; }
.arena-moves { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:7px; }
.arena-moves button { min-width:0; padding:13px 8px; font-size:12px; border-radius:2px; background:#262e25; color:#f0d6a0; border:1px solid #756748; }
.arena-moves button small { display:block; font-weight:normal; font-size:10px; line-height:1.35; color:#b8b5a8; margin-top:4px; }
.arena-moves button:hover { background:#4a4933; }
.arena-moves button:disabled { opacity:.42; }
.arena-log { display:flex; flex-direction:column; gap:6px; max-height:100px; overflow:auto; border:1px solid #3b453a; background:#0c1210; padding:11px 14px; color:#bcb9a9; font-size:11px; }
.arena-log p { margin:0; }
.quiz-progress-track { height:5px; background:#323a2f; border:1px solid #585643; margin:0 0 15px; }
.quiz-progress-track > div { height:100%; width:10%; background:linear-gradient(90deg,#957c43,#f7dfa0); transition:width .2s; }
.quiz-card { background:linear-gradient(145deg,#252b24,#151b17); border:1px solid #736444; padding:16px 24px 23px; text-align:center; }
.quiz-crest { color:#c4a365; font:44px Georgia,serif; line-height:1; }
.quiz-card h3 { font:normal clamp(20px,3vw,26px)/1.45 Georgia,serif; color:#f6e7c2; min-height:65px; margin:13px 0 20px; }
.quiz-answers { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.quiz-answers button { min-height:60px; background:#161e19; color:#e3d6bd; border:1px solid #696249; text-align:left; padding:12px 14px; border-radius:2px; font-size:13px; font-weight:normal; }
.quiz-answers button:hover:not(:disabled) { background:#47452c; color:#fff; }
.quiz-answers button:disabled { opacity:1; cursor:default; }
.quiz-answers button.is-correct { background:#244d37; border-color:#77b48d; color:#efffeb; }
.quiz-answers button.is-wrong { background:#5c2f2c; border-color:#bb665b; color:#ffdad1; }
.quiz-answers button > span { display:inline-grid; place-items:center; border:1px solid #8c7c59; width:26px; height:26px; margin-right:10px; font-size:11px; font-weight:900; color:#d7b979; }
.quiz-card .game-feedback { min-height:23px; margin:18px 0 0; font-size:13px; }
@media(max-width:1330px) { .games-grid {grid-template-columns:repeat(3,minmax(0,1fr)); } .gothic-hero { padding-left:6vw; padding-right:6vw; } }
@media(max-width:900px) { .site-header {padding:12px 23px;} .gothic-hero { min-height:0; padding:75px 25px 80px; grid-template-columns:1fr; } .release-box.box { justify-self:start; max-width:590px; } .games-section,.community-section {padding:66px 25px 72px;} .games-grid {grid-template-columns:repeat(2,minmax(0,1fr));} .community-grid { grid-template-columns:1fr; } .site-nav { gap:13px; } }
@media(max-width:650px) { .site-header { flex-wrap:wrap; gap:9px; padding:10px 15px; } .site-logo__rune {width:36px;height:36px;} .site-logo strong {font-size:18px;} .site-logo small {font-size:8px;} .site-nav {order:3; width:100%; justify-content:center; border-top:1px solid #383c30; padding-top:9px;} .site-nav a {font-size:11px;} .site-online { padding:8px; font-size:11px; } .gothic-hero {padding:65px 17px 55px;} .hero-copy h1 {font-size:clamp(41px,10vw,60px);} .hero-facts { margin-top:35px; gap:13px; } .hero-facts span+span {padding-left:13px;} .hero-facts strong {font-size:19px;margin-right:4px;} .release-box.box {padding:36px 19px 20px;} .games-section,.community-section {padding:55px 14px 65px;} .section-heading {align-items:start;} .section-counter {font-size:12px;padding:8px;} .catalog-toolbar {flex-direction:column;align-items:stretch;} .game-filters {flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px;} .game-filters button {flex:0 0 auto;padding:9px 11px;font-size:11px;} .catalog-search input {width:100%;} .games-grid {gap:11px;} .game-card__visual {height:130px;} .game-card__body {padding:13px 11px;} .game-card h3 {font-size:18px;} .game-card p {font-size:11px;} .game-card__new {font-size:8px;padding:4px;} .community-grid .comments-sidebar,.community-promo {padding:16px;} footer.copyright {padding:20px 15px;} .arena-moves {grid-template-columns:repeat(3,1fr);} .new-game-modal {padding:13px;} .quiz-card {padding:15px 11px;} .quiz-answers {grid-template-columns:1fr;} .quiz-answers button {min-height:48px;} }
@media(max-width:390px) { .games-grid {grid-template-columns:1fr;} .game-card {display:grid;grid-template-columns:120px minmax(0,1fr);} .game-card__visual {height:100%;min-height:175px;} .game-card__body {padding:12px;} .game-card h3 {font-size:18px;margin:7px 0;} .game-card p {margin-bottom:11px;} .game-card__symbol {left:8px;bottom:8px;} .game-card__new {top:7px;right:7px;} .eyebrow {letter-spacing:1.6px;} .hero-facts {font-size:10px;} .lock-slot {width:36px;height:36px;} .lock-slots {gap:5px;} .arena-stage {grid-template-columns:minmax(0,1fr) 35px minmax(0,1fr);padding:8px;} .fighter-img {height:115px;} .arena-versus {font-size:22px;} }
@media(prefers-reduced-motion:reduce) { html {scroll-behavior:auto;} }

/* Podstrona Making Of pozostaje spójna z główną stroną. */
.making-page { min-height:calc(100vh - 78px); display:grid; place-items:center; padding:75px 18px; background:linear-gradient(90deg,#101511eb,#0f1411d9),url('assets/tlo.jpg') center/cover; }
.making-page .making-card { max-width:590px; justify-self:center; }
.making-page .making-card h1 { font:normal 31px/1.25 Georgia,serif; margin:26px auto 15px; color:#f0ddb1; }
.making-page .making-card h2 {font:normal 20px Georgia,serif;color:#bbb2a0;}
#makingOfCountdown {font:normal clamp(30px,6vw,45px) Georgia,serif; color:#e9c980; margin:20px 0 12px; }
.making-card p {color:#a9aa9c;line-height:1.6;margin-bottom:25px;font-size:13px;}

/* Przywrócona minigra: Zbieracz Rudy */
.newGameLabel { color: #f1cf87; font-size: 9px; letter-spacing:.4px; margin-left:3px; }
.oreModalBox { width:min(680px,100%); }
.oreHud { justify-content:space-around; flex-wrap:wrap; }
.oreHud strong { font-variant-numeric:tabular-nums; color:#f0c979; }
.orePlayfield { position:relative; width:100%; max-width:540px; margin:0 auto; }
#oreCanvas { width:100%; height:auto; display:block; border:1px solid rgba(210,170,97,.5); border-radius:12px; background:#1a1714; touch-action:none; }
.oreOverlay { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; text-align:center; padding:15px; border-radius:12px; background:rgba(10,8,7,.84); color:#fff; }
.oreOverlay[hidden] { display:none; }
.oreOverTitle { font-size:clamp(22px,5vw,32px); font-weight:900; color:#f0c979; }
.oreBest { text-align:center; padding:10px; color:#e2c891; }
@media(max-width:480px) { .oreHud { gap:8px; font-size:13px; padding:8px 4px; } .oreHud button { padding:7px 9px; } }



/* Ruda korzysta z dawnego silnika; oprawa dopasowana do Kolonii. */
.oreModalBox { max-height: min(96dvh, 780px); overflow-y:auto; }
.oreModalBox .oreHud { display:flex; gap:9px; margin-bottom:14px; }
.oreModalBox .oreHud > div { background:#1c211e; border:1px solid #605844; padding:8px 10px; }
.oreModalBox .oreHud > button, .oreOverlay button { background:#b59a5d; border:1px solid #e9cf91; color:#1e1b14; font-weight:800; padding:10px 14px; }
.oreModalBox .oreHud > button:hover, .oreOverlay button:hover { filter:brightness(1.12); }
.orePlayfield { box-shadow:0 13px 36px #0009; }
.oreOverlay { z-index:2; }
.oreBest { font-family:Georgia,serif; }
@media(max-width:500px) { .oreModalBox .oreHud > div, .oreModalBox .oreHud > button { padding:7px 8px; font-size:12px; } }

/* Uzasadnienie z weryfikowalnym źródłem dla quizu eksperckiego */
#quizFeedback a { color:#f0ce80; text-decoration:underline; text-underline-offset:3px; font-weight:700; display:inline; }
#quizFeedback a:hover { color:#fff1c7; }

/* ===================================
   GOTHIC — STYLOWANY SCROLLBAR
   =================================== */

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #967341 #111915;
}

/* Chrome, Edge, Opera, Safari */
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Tło paska przewijania */
*::-webkit-scrollbar-track {
    background: #111915;
    border-left: 1px solid #393629;
    border-radius: 8px;
}

/* Złoto-brązowy suwak */
*::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #b99a60 0%,
        #806238 50%,
        #57452c 100%
    );

    border: 2px solid #111915;
    border-radius: 8px;
}

/* Podświetlenie po najechaniu */
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #e0bd78 0%,
        #b18a4b 50%,
        #806238 100%
    );
}

/* Podczas przeciągania */
*::-webkit-scrollbar-thumb:active {
    background: #c9a365;
}

/* Narożnik */
*::-webkit-scrollbar-corner {
    background: #111915;
}
