.year-schedule { text-align:left; }
.year-schedule-row { display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:10px; align-items:center; padding:9px 8px; }
.year-schedule-row img { object-fit:contain; }
.year-schedule-row strong { color:#f5e4c8; font:600 17px/1.25 Georgia,serif; }
.year-schedule-dates { margin:5px 0 10px; color:#b1c6d0; font:14px/1.4 Tahoma,sans-serif; }
.year-schedule-status { color:#e8d8bc; font:14px/1.5 Tahoma,sans-serif; }
.year-schedule-status b { display:inline-block; color:#ffdf98; font-variant-numeric:tabular-nums; }
.year-section-compact .year-section-window, #year-sections[data-section="buy"] .year-section-window { max-width:420px; }
.year-schedule-row .navikn { margin:0; padding:0 10px; min-height:40px; font-size:14px; }
.year-standings { text-align:left; color:#f0e5cc; font-variant-numeric:tabular-nums; }
.year-standings .tabs { margin:0 0 12px; padding:0; }
.year-standings .tab { flex:1; min-width:0; height:82px; padding:4px 2px; gap:1px; box-sizing:border-box; font:600 15px/1.2 Georgia,serif; }
.year-standings .tab::before { content:""; flex:none; width:36px; height:36px; margin-bottom:2px; background-position:center; background-size:contain; background-repeat:no-repeat; }
.year-tab-reit5::before { background-image:url(../images/icon/att.png); }
.year-standings .year-tab-reit4::before { background-image:url(../images/event/year/menu.webp); background-size:400% 100%; background-position:66.6667% center; }
.year-tab-reit_decor::before { background-image:url(../images/icon/year/decor1.png); }
.year-standings .tab small { font:12px/1.2 Tahoma,sans-serif; }
.year-standings .tab:not(.active) { opacity:1; color:#afc1c6; }
.year-standings-heading {
    min-height:73px; box-sizing:border-box;
    padding:13px 14px; border-bottom:1px solid #847044; border-radius:4px 4px 0 0;
    background:linear-gradient(90deg,#102129 5%,rgba(16,33,41,.91) 37%,rgba(16,33,41,.35)),url(../images/event/year/square.webp?v=2) center 55% / cover;
}
.year-standings-heading h3 { margin:0; color:#ffe2a9; font:normal 22px/1.18 Georgia,serif; text-shadow:0 1px 3px #061017; }
.year-standings-heading time { display:block; margin-top:4px; color:#d4dee0; font:12px/1.3 Tahoma,sans-serif; }
.winter-rank-heading { position:relative; }
.winter-rank-heading .year-standings-heading, .winter-rank-heading .hunt-section-title { padding-right:50px; }
.winter-rank-heading .hunt-section-title { display:flex; align-items:center; min-height:44px; }
.winter-rank-help summary {
    position:absolute; right:0; top:0; display:flex; align-items:center; justify-content:center;
    box-sizing:border-box; width:44px; height:44px; list-style:none; cursor:pointer;
}
.winter-rank-help summary::-webkit-details-marker { display:none; }
.winter-rank-help summary span {
    display:block; box-sizing:border-box; width:28px; height:28px; text-align:center;
    border:1px solid #ad8a48; border-radius:50%; color:#ffe0a0; background:#102027; font:bold 20px/26px Georgia,serif;
}
.winter-rank-help[open] summary span, .winter-rank-help summary:focus span { border-color:#ffe0a0; background:#54432b; }
.year-standing {
    display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:9px;
    min-height:48px; padding:3px 12px 3px 6px; box-sizing:border-box; border-bottom:1px solid #314047;
    background:#17272e; color:#efdfbd; text-decoration:none;
}
.year-standing:nth-child(even) { background:#132229; }
.year-standing-self, .year-standing-self:nth-child(even) {
    box-shadow:inset 3px 0 #e1af53; background:linear-gradient(90deg,#3a3426,#1e2a2d 70%);
}
.year-standing:hover, .year-standing:focus-visible { background-color:#263840; outline:1px solid #ad905b; outline-offset:-1px; }
.year-rank-medal, .year-standing-place { display:block; justify-self:center; text-align:center; }
.year-rank-medal { width:40px; height:40px; background-position:center; background-size:contain; background-repeat:no-repeat; font-size:0; }
.year-standing-place { color:#b4c0bf; font:600 16px Georgia,serif; }
.year-standing-name { display:block; overflow-wrap:anywhere; font-size:15px; line-height:1.25; }
.year-standing-name img { width:16px; height:16px; vertical-align:-2px; object-fit:contain; }
.year-standing-player small { display:block; margin-top:2px; color:#b1bdc0; font:12px/1.2 Tahoma,sans-serif; }
.year-standing-points { color:#b2e4e1; font:bold 19px/1 Georgia,serif; white-space:nowrap; }
.year-standing-summary { padding:10px 2px 12px; }
.year-standing-summary strong { color:#f3cf8c; font-size:15px; }
.year-standing-summary p { margin:4px 0 0; color:#b8c6c8; font:13px/1.4 Tahoma,sans-serif; }
.year-rank-rewards { width:100%; border-collapse:collapse; text-align:left; color:#f5e4c8; }
.year-rank-rewards caption { padding:8px 0 7px; border-top:1px solid #514832; color:#f5d79d; text-align:left; font:20px Georgia,serif; }
.year-rank-rewards .year-rank-medal { width:28px; height:28px; margin:auto; }
.year-rank-rewards th:first-child { width:15%; text-align:center; }
.year-rank-rewards td, .year-rank-rewards th { padding:4px 6px; border-bottom:1px solid #564c36; }
.year-rank-rewards thead th { color:#b9c9cc; font-size:13px; }
.year-rank-rewards td:nth-child(2) { color:#ffdc8c; }
.year-rank-rewards img { object-fit:contain; vertical-align:middle; }
#year-sections, #start .main > #year-sections {
    position:fixed; z-index:95; top:0; right:0; bottom:0; left:0; max-width:700px; margin:0 auto; padding:10px; box-sizing:border-box;
    display:flex; align-items:center; justify-content:center; background:rgba(4,12,19,.65);
}
#year-sections[hidden], #year-sections [hidden] { display:none !important; }
body.year-section-on { overflow:hidden; }
body.year-section-on #yc-overlay, body.year-section-on #year-panel { visibility:hidden; }
.year-section-window {
    width:100%; max-width:640px; max-height:100%; min-height:0; display:flex; flex-direction:column;
    overflow:hidden; box-sizing:border-box; padding:12px; color:#edddbd; text-align:left;
    border:1px solid #a88445; border-radius:5px; background:#102027; box-shadow:0 9px 40px #050c12;
}
.year-section-window > .year-panel-top { flex:none; gap:8px; padding:0 0 8px; margin-bottom:5px; }
#year-sections[data-section="buy"] .year-section-window,
#year-sections[data-section="buy"] .year-panel-top { border:0; }
#year-sections[data-section="buy"] #year-section-frame { max-height:340px; }
.year-frame-page .year-chest-offers button.ssilki3 { border:0; }
#year-sections[data-section^="reit"] .year-section-window { height:740px; }
#year-section-title { flex:1; margin:0; color:#f5dcaa; font:normal 24px/1.2 Georgia,serif; }
#year-sections.year-section-hunt, #start .main > #year-sections.year-section-hunt { padding:0; }
.year-section-hunt #year-section-title { display:none; }
.year-section-hunt .year-section-window {
    position:relative; height:100%; max-width:none; margin:0; padding:0; border:0; border-radius:0;
}
.year-section-hunt .year-section-window > .year-panel-top {
    position:absolute; z-index:1; top:5px; right:5px; top:calc(5px + env(safe-area-inset-top, 0px));
    right:calc(5px + env(safe-area-inset-right, 0px)); padding:0; margin:0; border:0;
}
.year-section-hunt #year-section-close {
    border-radius:50%; border:1px solid #a88445; background:#102027; box-shadow:0 2px 5px #050c12;
}
.year-section-hunt #year-section-frame { flex:1; height:auto; }
.year-frame-page .hunt-banner-tools {
    right:56px; right:calc(56px + env(safe-area-inset-right, 0px));
}
#year-section-back, #year-section-retry { margin:0; padding:0 9px; }
#year-section-status { margin:12px 2px; }
#year-section-body { min-height:0; overflow-y:auto; scrollbar-width:none; overscroll-behavior:contain; }
#year-section-body::-webkit-scrollbar { display:none; }
#year-section-body:focus { outline:none; }
#year-section-frame { height:72vh; min-height:0; }
#year-section-frame iframe { display:block; width:100%; height:100%; border:0; background:#102027; }
html.year-frame-page, .year-frame-page body, .year-frame-page #start { margin:0; min-height:0; background:#102027; }
.year-frame-page #start { width:100%; max-width:none; }
.year-frame-page #start .main { background:none; border:0; box-shadow:none; padding:0; }
.hunt-winter-page.year-frame-page .main > .razriv15, .hunt-winter-page.year-frame-page .main > .razriv16 {
    margin-left:0; margin-right:0;
}
.year-frame-page #head_start, .year-frame-page .foot_block_all, .year-frame-page #block_event { display:none; }
@media (max-width:360px) {
    .year-standings .tab { height:72px; font-size:14px; }
    .year-standings .tab::before { width:28px; height:28px; }
    .year-schedule-row { grid-template-columns:32px minmax(0,1fr) auto; gap:6px; padding:8px 3px; }
    .year-schedule-row img { width:32px; height:32px; }
}
@media (max-width:300px) {
    .year-standings .tabs { flex-direction:column; align-items:stretch; }
    .year-standings .tab { flex:none; flex-direction:row; width:100%; height:36px; gap:5px; }
    .year-standings .tab::before { width:24px; height:24px; margin:0; }
}
