.portal-hero::before { width: 88%; background-position: right 26%; }
.hero-inner { position: relative; min-height: clamp(285px,24vw,350px); padding-block: 37px 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-copy { max-width: 55%; }
.hero-edition { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: #f4d7a2; font: 700 14px/1.2 var(--serif); letter-spacing: .14em; }
.hero-edition > span { width: 27px; height: 1px; background: #d8b574; }
.portal-hero h1 { margin: 0; color: #fff5d9; font: 800 clamp(44px,4.8vw,70px)/1.17 var(--serif); letter-spacing: .075em; text-shadow: 0 2px 15px #123c3d88; }
.hero-desc { margin: 13px 0 23px; max-width: 33em; font-size: 15px; color: #edf2e4; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-buttons a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 7px 19px; border: 1px solid; border-radius: 5px; font-size: 14px; font-weight: 750; transition: background .15s; }
.hero-buttons .hero-primary { color: #2c372d; border-color: #ecd49c; background: #ebcf92; }
.hero-buttons .hero-primary:hover { background: #fbe1a8; }
.hero-buttons .hero-ghost { border-color: #a1afa0; background: #15383ccf; color: #f2f3e3; }
.hero-buttons .hero-ghost:hover { background: #285057; }
.online-card { align-self: flex-end; display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 13px; row-gap: 1px; padding: 10px 14px; margin-bottom: -22px; color: #fff4d8; background: #123639eb; border: 1px solid #b3bea333; border-radius: 6px; box-shadow: 0 2px 12px #12281d26; }
.online-title { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #f4f0dc; font-weight: 650; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #c6af79; }
.online-card[data-online-state="ready"] .online-dot { background: #9fe1a8; box-shadow: 0 0 0 3px #5a896733; }
.online-card[data-online-state="error"] .online-dot { background: #e1a383; }
#online-count { font-size: 17px; line-height: 1.35; font-variant-numeric: tabular-nums; font-weight: 750; }
.online-card small { grid-column: 1/-1; font-size: 11px; color: #ccd7c6; }
.home-content { padding-block: 20px 30px; }
.home-block + .home-block { margin-top: 22px; }
.home-section-title { display: flex; align-items: center; gap: 10px; color: var(--ink); margin: 0 0 12px; font: 800 26px/1.36 var(--serif); letter-spacing: .05em; }
.home-section-title::before { content: ""; width: 6px; height: 17px; border-radius: 1px; background: var(--gold); transform: skewY(-18deg); }
.guide-grid { display: grid; grid-template-columns: minmax(0,1.38fr) minmax(0,1fr); gap: 16px; }
.guide-feature, .shortcut, .service-link { border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 2px 7px #16383908; }
.guide-feature { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 168px; padding: 21px 26px; border-color: #bfcab3; background: linear-gradient(108deg,#e1e9da,#f1efe0 65%,#e8e4c9); }
.feature-copy { width: 62%; position: relative; z-index: 1; }
.feature-copy h3 { margin: 0; color: #204636; font: 800 clamp(22px,2.1vw,29px)/1.2 var(--serif); letter-spacing: .06em; }
.feature-copy p { max-width: 23em; margin: 8px 0 15px; font-size: 13px; color: #4d6253; }
.feature-action { display: inline-flex; align-items: center; gap: 8px; color: #285d48; font-size: 13px; font-weight: 750; }
.guide-art { position: absolute; width: 39%; max-width: 295px; right: 0; inset-block: 0; z-index: 0; }
.orbit { position: absolute; left: 18%; top: 13%; width: 70%; aspect-ratio: 1; border: 1px solid #acc0a173; border-radius: 50%; box-shadow: 0 0 0 13px #dce1bf69,0 0 0 14px #bfc7a94f; transform: rotate(-12deg) scaleY(.85); }
.guide-art img { position: absolute; object-fit: contain; filter: drop-shadow(0 3px 2px #3f4a3a29); }
.guide-dragon { width: 71%; height: 65%; right: 5%; top: 24%; }
.guide-wings { width: 37%; height: 32%; bottom: 6%; left: 1%; }
.guide-hatchling { width: 16%; height: 23%; left: 17%; top: 14%; }
.guide-shortcuts { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.shortcut { display: flex; align-items: center; gap: 15px; background: var(--white); padding: 11px 17px; }
.shortcut > span:nth-child(2), .service-copy { min-width: 0; display: grid; }
.shortcut strong { font-size: 17px; }
.shortcut small, .service-link small { color: var(--muted); font-size: 12px; }
.shortcut-icon, .service-icon { display: grid; place-items: center; flex: none; border-radius: 6px; border: 1px solid #c9d8c9; background: #e8f0e8; color: #406b54; }
.shortcut-icon { width: 42px; height: 42px; font-size: 21px; }
.rank-shortcut .shortcut-icon { background: #f6efde; color: #98703b; border-color: #dfd3b5; }
.shortcut > .icon, .service-link > .icon { margin-left: auto; color: #697d6d; }
.services-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.service-link { display: flex; gap: 11px; align-items: center; padding: 13px 15px; background: var(--white); }
.service-link strong { font-size: 15px; }
.service-icon { width: 33px; height: 34px; border-color: #dcdfd2; background: #f1f2e9; color: #697b63; font-size: 16px; }
.guide-feature:hover,.shortcut:hover,.service-link:hover { border-color: #8fa898; box-shadow: 0 3px 9px #26403916; }
.guide-feature:hover .feature-action, .shortcut:hover strong, .service-link:hover strong { color: #20634b; }
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hero-copy { max-width: 69%; }
    .guide-feature { padding: 19px; }
    .guide-art { width: 36%; }
}
@media (max-width: 700px) {
    .portal-hero::before { width: 100%; background-position: 66% center; }
    .hero-inner { min-height: 263px; flex-direction: column; gap: 17px; align-items: flex-start; justify-content: center; padding-block: 26px; }
    .hero-copy { max-width: 90%; }
    .portal-hero h1 { font-size: clamp(40px,8vw,53px); }
    .hero-edition { font-size: 12px; margin-bottom: 6px; }
    .hero-desc { font-size: 13px; margin: 8px 0 16px; }
    .online-card { align-self: flex-start; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 4px 9px; }
    #online-count { font-size: 13px; }
    .online-card small { padding-left: 7px; border-left: 1px solid #879888; }
    .hero-buttons a { min-height: 39px; font-size: 13px; padding: 5px 14px; }
    .guide-grid { grid-template-columns: 1fr; gap: 9px; }
    .guide-feature { min-height: 145px; }
    .guide-shortcuts { grid-template: auto / 1fr 1fr; gap: 8px; }
    .shortcut { padding: 10px; gap: 7px; }
    .shortcut > .icon { width: 12px; }
    .shortcut-icon { width: 30px; height: 32px; font-size: 16px; }
    .shortcut strong { font-size: 14px; }
    .shortcut small { font-size: 11px; }
    .home-section-title { font-size: 23px; margin-bottom: 9px; }
    .services-grid { gap: 8px; }
    .service-link { gap: 6px; padding: 9px; }
    .service-icon { width: 27px; height: 30px; }
    .service-link > .icon { width: 12px; }
    .service-link small { font-size: 11px; }
    .service-link strong { font-size: 14px; }
    .home-block + .home-block { margin-top: 17px; }
}
@media (max-width: 360px) {
    .services-grid,.guide-shortcuts { grid-template-columns: 1fr; }
    .guide-feature { padding: 14px; }
}
