/* Classic website look for the play page (view/client.ejs). Colours, borders and backgrounds only:
   no sizes, heights or paddings change, so fitCanvas() / resizable mode keep working exactly as before. */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&display=swap');

html, body {
    background: url(/classic/chain_l.png) left top repeat-y, url(/classic/chain_r.png) right top repeat-y, #120f0b url(/classic/wall.jpg) repeat !important;
    font-family: Verdana, Tahoma, Arial, sans-serif !important;
}
html:-webkit-full-screen { background: #000 !important; }

/* top bar: the black link bar of the old site (same 44px height) */
.topbar {
    background: rgba(0, 0, 0, .85) !important; border-bottom: 1px solid #5c533f !important;
    box-shadow: 0 1px 0 #000, 0 4px 12px rgba(0, 0, 0, .6) !important;
}
.topbar-logo {
    font-family: 'Cinzel Decorative', Georgia, serif !important; letter-spacing: 1px;
    background: linear-gradient(180deg, #f2f2f2 0%, #b9bcc0 40%, #7d8187 58%, #c9ccd0 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent !important; text-shadow: none !important;
    filter: drop-shadow(1px 1px 0 #000);
}
.topbar-logo span { background: linear-gradient(180deg, #ffe08a 0%, #ffb83f 45%, #c26a10 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.topbar-nav a { color: #c6dc58 !important; font-weight: 700; background: none !important; border-color: transparent !important; box-shadow: none !important; }
.topbar-nav a:hover { color: #fff !important; text-decoration: underline; }
.topbar-nav a.active { color: #fff !important; }

/* game frame: grey stone with a black edge (same 6px padding) */
.game-wrap {
    background: linear-gradient(180deg, #8c8c8c 0%, #6f6f6f 45%, #5a5a5a 100%) !important;
    border: 2px solid #000 !important; border-radius: 0 !important;
    box-shadow: inset 2px 2px 0 #b5b5b5, inset -2px -2px 0 #3c3c3c, 0 10px 40px rgba(0, 0, 0, .85) !important;
}

/* controls: the grey stone buttons */
.controls select, .controls .ctrl-link, .controls .ctrl-link.primary {
    background: linear-gradient(180deg, #8c8c8c 0%, #6f6f6f 45%, #5a5a5a 100%) !important; color: #fff !important;
    border: 2px solid #000 !important; border-radius: 0 !important; font-weight: 700;
    box-shadow: inset 1px 1px 0 #b5b5b5, inset -1px -1px 0 #3c3c3c !important; text-shadow: 1px 1px 0 #000;
}
.controls select:hover, .controls .ctrl-link:hover, .controls .ctrl-link.primary:hover {
    background: linear-gradient(180deg, #9d9d9d 0%, #7e7e7e 45%, #666 100%) !important; color: #ffff00 !important;
}
.controls select option { background: #3a3a3a; color: #fff; }
.ctrl-sep { color: #8a8a8a !important; text-shadow: 1px 1px 0 #000; }

/* loading screen: dark stone + the classic logo */
#loading {
    background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .65) 100%), #120f0b url(/classic/wall.jpg) repeat !important;
}
.ld-logo {
    font-family: 'Cinzel Decorative', Georgia, serif !important; letter-spacing: .06em !important;
    background: linear-gradient(180deg, #f2f2f2 0%, #b9bcc0 38%, #7d8187 55%, #c9ccd0 78%, #8a8e94 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent !important; text-shadow: none !important;
    -webkit-text-stroke: 1px #1a1a1a; filter: drop-shadow(3px 3px 0 #000);
}
.ld-logo span { background: linear-gradient(180deg, #ffe08a 0%, #ffb83f 45%, #c26a10 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.ld-sub, .ld-tip { color: #e9e4d4 !important; }

/* world map page (public/worldmap.html): same treatment, the map area keeps its size */
.map-wrap { background: rgba(0, 0, 0, .35) !important; }
