/* Playfilm refresh: preserve the original layout, dimensions, image frames and sharp silhouette. */
:root {
    --pf-blue: #0b48a5;
    --pf-blue-hover: #1b60c1;
    --pf-yellow: #ffdd02;
    --pf-line: #303650;
    --pf-text: #e8ebf5;
    --pf-muted: #aab1c8;
}

body {
    color: var(--pf-muted);
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: #d3d8e6; }
a:hover, a:focus { color: var(--pf-yellow); }
.wrap-main { background-color: #111321; }
.header { background-color: #10111e; border-bottom-color: var(--pf-blue); }
.footer { background-color: #10111e; border-top-color: var(--pf-blue); }
.col-left, .col-right { background-color: #191b2b; }

/* Type keeps the proportions of the original site. */
.sect-title, .mtitle, .sub-title h1, .form-wrap h1 {
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.25;
}
.side-bt, .login-title { letter-spacing: -.01em; }
.hd-menu li { font-size: 15px; }
.hd-menu li a { color: #d4d8e6; }
.hd-menu li a:hover { color: var(--pf-yellow); }
.th-title { color: #f0f1f8; line-height: 1.3; }
.th-cat, .lcomm-date { color: #a3a9bc; }
.upd-title { line-height: 1.35; }
.full-text { color: #b7bdd1; line-height: 1.75; }
.desc-text { color: #aeb5c9; }
.desc-text h1, .desc-text h2, .desc-text h3 { font-weight: 600; }
.desc-text a, .desc-text span { color: #74a5ef; }
.fs-page { color: #aeb5c9; }
.fs-page, .fs-comments-heading, .fs-comments .berrors { font-family: inherit; }
.fs-header h1, .fs-section-heading h2, .fs-video h2,
.fs-related .sect-title, .fs-comments .sect-title { letter-spacing: -.012em; }

/* Original dark/blue/yellow visual language, with cleaner edges and contrast. */
.hd-menu { background-color: #0c0e1b; border-bottom: 1px solid #252b44; }
.carou { background-color: #101322; }
.tc-title { background-color: rgba(8, 10, 23, .72); font-weight: 600; }
.th-in {
    background-color: #1b1e30;
    box-shadow: 0 0 0 1px #272c45;
    transition: box-shadow .18s ease, background-color .18s ease;
}
.th-in:hover, .th-in:focus-visible {
    background-color: #222640;
    box-shadow: 0 0 0 1px #4772bb, 0 7px 16px rgba(0, 0, 0, .22);
}
.th-qual { background-color: var(--pf-blue); }
.side-bt { color: #f0f1f8; }
.nav li a { border-bottom-color: var(--pf-line); }
.nav li a:hover { color: var(--pf-yellow); }
.upd-item { background-color: #111422; }
.upd-item:hover { background-color: #20243a; }
.lcomm-text { background-color: #121524; }
.lcomm-text::before { border-bottom-color: #121524; }
.speedbar { border-bottom-color: var(--pf-line); }
.desc-text { background-color: #0d0f1c; border-top-color: var(--pf-blue); }
.footer > span { background-color: #15192a; }
.navigation a, .navigation span, .pnext a, .pprev a,
.pprev > span, .pnext > span { background-color: #15192a; box-shadow: none; }
.navigation span, .pagi-nav a:hover { background-color: var(--pf-blue); }

/* Controls retain the original shape and size. */
.button, .btn, .pagi-load a, .up-second li a, .usp-edit a,
.qq-upload-button, .meta-fav a, .usp-btn a,
button:not(.color-btn):not([class*=fr]):not(.f-button):not([class*="tox-"]):not(.ui-dialog-titlebar-close):not(.plyr__control),
html input[type="button"], input[type="reset"], input[type="submit"] {
    background-color: var(--pf-blue);
    box-shadow: inset 0 1px rgba(255, 255, 255, .09);
}
.button:hover, .btn:hover, .pagi-load a:hover, .up-second li a:hover,
.usp-edit a:hover, .qq-upload-button:hover, .meta-fav a:hover, .usp-btn a:hover,
button:not(.color-btn):not(.f-button):not([class*="tox-"]):not(.ui-dialog-titlebar-close):not(.plyr__control):hover,
html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
    background-color: var(--pf-blue-hover);
}
.btn-login { background-color: var(--pf-blue); }
.btn-login:hover { background-color: var(--pf-blue-hover); }
.search-box input, .search-box input:focus,
input[type="text"], input[type="password"], input[type="email"], select, textarea {
    background-color: #242842;
    color: #f2f3f9;
    box-shadow: inset 0 0 0 1px #363d60;
}
button:not([class*="tox-"]):not(.ui-dialog-titlebar-close):not(.plyr__control),
textarea, input[type="text"], input[type="password"], input[type="email"] {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif !important;
}
.search-box input, .search-box input:focus { box-shadow: inset 0 0 0 1px #363d60; }
input[type="text"]:focus, input[type="password"]:focus,
input[type="email"]:focus, textarea:focus, select:focus,
.search-box input:focus { box-shadow: inset 0 0 0 1px #5d8ddd, 0 0 0 2px rgba(58, 112, 203, .18); }
input::placeholder, textarea::placeholder { color: #b9bed0; opacity: 1; }
.login-box { background-color: #151829; border-top-color: var(--pf-blue); }
.login-menu, .login-menu li { border-color: var(--pf-line); }
.login-soc-title::before, .login-soc-title::after { background-color: var(--pf-line); }
.side-panel { background-color: #191b2b; }

/* Preserve the yellow primary action in the approved Fullstory access block. */
.fs-access__actions button.fs-register { background-color: var(--pf-yellow) !important; color: #111 !important; }
.fs-access__actions button.fs-register:hover { background-color: #ffe73e !important; }
.fs-access--vip .fs-access__actions .button { background-color: var(--pf-yellow); color: #151725; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--pf-yellow);
    outline-offset: 2px;
}

@media screen and (max-width: 590px) {
    .sect-title, .mtitle, .sub-title h1, .form-wrap h1 { font-size: 24px; }
    input[type="text"], input[type="password"], input[type="email"] { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .th-in { transition: none; }
}
