.view-support main { width: min(100% - 32px, 960px); margin: 20px auto 0; }
.support-policies { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 15px 2px; margin-top: 18px; border-top: 1px solid #826d4880; }
.support-policies a { color: #dcc8a4; font-size: .88rem; text-underline-offset: 3px; }
.view-support main > h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.view-support .panel { margin: 0; }
.view-support .back { display: inline-block; margin: 0 0 10px; }
.embedded .view-support .back { display: none; }
.view-support .support-cover { padding: clamp(22px,4vw,43px); isolation: isolate; }
.support-cover::before {
    background: linear-gradient(90deg, #091724 1%, #112333ed 32%, #12283faf 49%, #273b4022 74%), url(media/castle.webp) 69% 50% / cover;
}
.support-cover-copy { max-width: 58%; }
.view-support .support-cover h2 { margin: 0; border: 0; padding: 0; font: 600 clamp(1.92rem,5.1vw,3.45rem)/1.06 Georgia,serif; color: #ffe8ba; text-shadow: 0 3px 12px #06121e; }
.support-cover p { margin: 10px 0 16px; max-width: 39ch; font-size: clamp(.91rem,1.6vw,1rem); line-height: 1.48; color: #eee9dc; }
.support-action {
    display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 7px 19px; min-height: 39px; font-weight: 650; color: #ffebc6;
    background: linear-gradient(#2c495a,#102638 66%,#203646); border-image: url(media/small-frame.webp) 9 14 / 7px 11px / 0 stretch;
}
.support-action:hover, .support-action:focus-visible { text-decoration: none; color: #fff5d2; background: linear-gradient(#3c5866,#193446); }
.support-action span, .support-text-link span, .support-guide-answer a span, .support-back span { color: #dfc38b; font: 1.3em/1 Georgia,serif; }
.support-layout { display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr); align-items: start; gap: 12px; margin: 13px 0; }
.support-layout > .panel, .support-compose, .support-thread, .support-error { min-width: 0; padding: clamp(16px,2.5vw,26px); }
.view-support .support-layout h2, .view-support .support-compose h2 { margin: 0; padding: 1px 0 12px; font-variant: normal; font-size: clamp(1.18rem,2.5vw,1.54rem); }
.support-layout h2 img { width: 27px; height: 25px; }
.support-guide { border-bottom: 1px solid #a388554d; }
.support-guide:last-child { border: none; }
.support-guide summary { display: grid; grid-template-columns: 24px minmax(0,1fr) 13px; align-items: center; gap: 12px; list-style: none; padding: 12px 1px; cursor: pointer; min-height: 59px; }
.support-guide summary::-webkit-details-marker { display: none; }
.support-guide summary img { width: 22px; height: 24px; object-fit: contain; }
.support-guide summary small, .support-ticket-meta { display: block; color: #d9bd85; font-size: .75rem; line-height: 1.3; }
.support-guide summary strong { display: block; color: #f6e9d0; font-size: .94rem; line-height: 1.37; margin-top: 2px; font-weight: 600; }
.support-guide summary:hover strong, .support-guide[open] summary strong { color: #ffe3a6; }
.support-guide summary:focus-visible { outline: 2px solid #f7d58a; outline-offset: 2px; }
.support-caret { justify-self: center; color: #d8b774; font: 1.3rem/1 Georgia,serif; }
.support-guide[open] .support-caret { transform: rotate(45deg); }
.support-guide-answer { padding: 0 3px 15px 37px; font-size: .9rem; color: #d8d6cb; }
.support-guide-answer p { margin: 0 0 7px; }
.support-guide-answer a, .support-text-link, .support-back { color: #f3d69b; font-weight: 650; font-size: .9rem; }
.support-inbox > p { color: #d8d7cc; line-height: 1.5; margin: 13px 0 9px; }
.support-tickets { padding: 0; margin: 0; list-style: none; }
.support-tickets li+li { border-top: 1px solid #aa8e6140; }
.support-tickets a { display: block; padding: 12px 0; }
.support-tickets a:hover { text-decoration: none; }
.support-tickets a:hover strong { text-decoration: underline; text-underline-offset: 2px; }
.support-tickets strong { display: block; margin: 5px 0 1px; color: #f5dfb6; font: 600 1rem/1.34 Georgia,serif; }
.support-tickets small, .support-msg-meta time { font-size: .79rem; color: #c0c6c4; }
.support-ticket-meta, .support-msg-meta { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.support-status { border: 1px solid #b1925e80; padding: 2px 7px; border-radius: 3px; white-space: nowrap; font-size: .75rem; }
.support-status[data-state=answered] { border-color: #87b5a385; color: #acdabe; }
.support-scopes { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0; }
.support-scopes a { padding: 3px 6px; font-size: .81rem; }
.support-scopes [aria-current] { border-bottom: 1px solid #d6b579; }
.support-text-link { display: inline-flex; align-items: center; gap: 5px; padding: 6px 0; }
.support-back { display: inline-flex; align-items: center; gap: 7px; padding: 4px 0 10px; }
.view-support .support-error, .view-support .support-compose { margin-top: 13px; }
.support-error p { margin: 0; color: #ffdeaa; }
.support-thread .support-ticket-meta { margin: 0 0 14px; }
.view-support .support-thread h2 { font: 600 clamp(1.45rem,3.7vw,2.25rem)/1.17 Georgia,serif; }
.support-msg-meta { justify-content: start; flex-wrap: wrap; color: #f3dfbc; }
.support-message { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 0; line-height: 1.65; color: #ece6d9; }
.support-reply { border-top: 1px solid #93764477; margin-top: 16px; padding-top: 13px; scroll-margin-top: 10px; }
.support-reply:target { border-top-color: #e8c180; }
.support-staff .support-msg-meta strong { color: #acdaba; }
.support-fields { display: grid; grid-template-columns: minmax(140px, .65fr) minmax(0, 1.5fr); gap: 13px; }
.support-compose form { padding-top: 13px; scroll-margin-top: 12px; }
.support-compose textarea { resize: vertical; min-height: 95px; }
.support-compose select {
    width: 100%; margin: 4px 0 0; min-height: 44px; padding: 7px 10px; font: inherit; font-weight: 400; color: #f3e8d2;
    background: #101f2a; border: 1px solid #87714e; border-radius: 2px;
}
.support-compose select:focus-visible { outline: 2px solid #f7d58a; }
[dir=rtl] .support-cover::before { transform: scaleX(-1); }
[dir=rtl] .support-guide-answer { padding: 0 37px 15px 3px; }
[dir=rtl] :is(.support-action,.support-text-link,.support-back,.support-guide-answer a) > span { display: inline-block; transform: scaleX(-1); }
@media(max-width:720px) {
    .support-layout { grid-template-columns: minmax(0,1fr); }
    .support-cover-copy { max-width: 74%; }
    .support-guide summary { min-height: 55px; }
}
@media(max-width:600px) {
    .view-support header { flex-wrap: wrap; justify-content: center; gap: 5px; }
    .view-support header nav { max-width: 100%; flex: 1 1 100%; justify-content: space-evenly; }
    .view-support header nav a { flex: 1; padding-inline: 5px; }
    .view-support header nav img { width: 15px; height: 15px; }
    .view-support .brand img { width: 76px; }
}
@media(max-width:420px) {
    .view-support header nav a { flex-direction: column; gap: 3px; padding: 3px; font-size: .78rem; text-align: center; min-width: 0; overflow-wrap: anywhere; }
    .view-support main { width: calc(100% - 16px); }
    .view-support .support-cover { padding: 21px 17px; }
    .support-cover-copy { max-width: 85%; }
    .support-cover p { text-shadow: 0 1px 5px #000; }
    .support-fields { grid-template-columns: 1fr; gap: 0; }
    .support-guide summary { grid-template-columns: 19px minmax(0,1fr) 12px; gap: 9px; }
    .support-guide summary img { width: 18px; height: 20px; }
}
