/* Канцелярия империи: only the Support content inside Premium. */
body:not(.crime-mode) #screen-game #premium-content.premium-boutique:has(>.support-cabinet){padding:0;background:#fffaf0;border-radius:12px;overflow:hidden;box-shadow:inset 0 0 0 3px #fffcf4,0 4px 20px #7756250c}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet{--sc-gold:#b28c47;--sc-line:#d9c194;--sc-ink:#4b3826;--sc-green:#14583f;color:var(--sc-ink);font:15px/1.55 system-ui,sans-serif;container-type:inline-size}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-hero{display:flex;align-items:center;gap:20px;min-height:186px;padding:30px 34px;border-bottom:1px solid var(--sc-line);background:linear-gradient(90deg,#fffaf0 0%,#fffaf0e8 31%,#fffaf000 70%),url('../img/support-cabinet/stationery.webp') right 58%/70% auto no-repeat}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-emblem{display:grid;place-items:center;flex:0 0 70px;width:70px;height:62px;color:#8d672d;border:1px solid #c7a25d;border-radius:9px;background:linear-gradient(130deg,#fff7db,#edd091);box-shadow:inset 0 0 0 3px #fff2cf,0 4px 9px #815b2020}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-eyebrow{margin:0 0 3px;color:#7a6649;font:12px/1.5 system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet #sc-title{margin:0;font:700 clamp(28px,4.8cqi,42px)/1.2 Georgia,serif!important;color:#4b3522!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-tabs{display:flex;gap:5px;margin:22px 26px 0;padding:4px;border:1px solid var(--sc-line);border-radius:9px;background:#f6eddc}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-tabs button{display:flex;align-items:center;justify-content:center;gap:11px;flex:1;padding:13px 12px!important;margin:0;font:600 18px/1.35 Georgia,serif!important;border-radius:6px!important;box-shadow:none!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-tabs button.active{background:linear-gradient(#176b51,#104c38)!important;color:#fff7e5!important;border-color:#a98a4b!important;box-shadow:inset 0 0 0 1px #fff0bd22,0 2px 5px #1b4c3520!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-compose{padding:24px 30px 28px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-category-field{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(0,1.7fr);align-items:center;gap:18px;margin-bottom:16px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet :is(.sc-category-field label,.sc-description-label){display:block;color:#503c28;font:700 20px/1.4 Georgia,serif}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet #support-category{width:100%;margin:0;background:#fffcf5!important;border-color:#c8ab75!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 24px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-category{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 7px!important;font-size:14px!important;font-weight:500!important;background:#fff9ed!important;box-shadow:none!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-category.selected{background:#edf3e3!important;color:#155438!important;border-color:#3b7854!important;box-shadow:inset 0 0 0 1px #3b785438,0 2px 5px #17462812!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-description-label{margin-bottom:10px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet #support-text{display:block;min-height:185px;padding:16px!important;border:1px solid #c6a76f!important;background:#fffdf7!important;box-shadow:inset 0 2px 6px #80643208;resize:vertical}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet :is(#support-text,#support-category):focus{outline:2px solid #3e7556;outline-offset:2px;border-color:#3e7556!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet #support-text::placeholder{color:#897b65;opacity:1}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-hint{margin:8px 0 20px;color:#7c705c;font-size:12px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:22px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward{display:flex;align-items:center;gap:16px;padding:15px 18px;border:1px solid #d0b478;border-radius:9px;background:linear-gradient(115deg,#fffdf6,#f7ecd4);box-shadow:inset 0 0 0 3px #fffbef,inset 0 0 0 4px #ead9b3}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward img{flex:0 0 95px;display:block;width:95px;height:105px;object-fit:cover}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward>div{flex:1;padding-left:16px;border-left:1px solid #d6bd8a}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward h4{margin:0 0 6px;font:700 17px/1.3 Georgia,serif!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward strong{display:block;color:#10563c;font:700 clamp(25px,3.2cqi,34px)/1.2 Georgia,serif;overflow-wrap:anywhere}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward span{display:block;margin-top:4px;color:#766347;font-size:13px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-currency{display:block;margin-top:2px;color:#766347;font-size:12px;line-height:1.5}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-submit{display:flex;align-items:center;justify-content:center;gap:13px;width:100%;min-height:57px;font:600 22px/1.3 Georgia,serif!important;background:linear-gradient(#17664d,#104d39)!important;color:#fff6dc!important;border:1px solid #a38340!important;border-radius:8px!important;box-shadow:inset 0 0 0 2px #f7dfa15c,0 3px 7px #32542d18!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet :is(.sc-emblem,.sc-tabs,.sc-categories,.sc-submit,.sc-placeholder,.sc-ticket-bounty,.sc-ticket-reply) svg{flex-shrink:0;color:currentColor}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet :is(.sc-tabs,.sc-categories,.sc-submit) svg{width:23px!important;height:23px!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-emblem svg{width:38px!important;height:38px!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-placeholder>svg{width:40px!important;height:40px!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet svg [fill]:not([fill=none]){fill:currentColor!important;fill-opacity:.12}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet svg [stroke]:not([stroke=none]){stroke:currentColor!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-tickets{padding:24px 30px 28px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-ticket{margin:0 0 16px;padding:20px!important;border:1px solid #d4bc8d!important;border-radius:9px!important;background:linear-gradient(115deg,#fffdf7,#fff9ec)!important;box-shadow:inset 0 0 0 3px #fffdf6,0 3px 8px #84642c08}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-ticket:last-child{margin-bottom:0}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-ticket-header{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:10px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-ticket-header>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-ticket-id{font:700 21px/1.3 Georgia,serif;color:#5d4228}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-ticket-category{font-size:13px;color:#7a694f}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-status{display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border:1px solid #dbb967;border-radius:16px;background:#fff0ce;color:#755820;font:600 12px/1.5 system-ui,sans-serif}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-status::before{content:'';width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:currentColor}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet :is(.sc-status-answered,.sc-status-confirmed){background:#eaf3e1;border-color:#9db784;color:#365e35}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-status-rejected{background:#f6e7df;border-color:#d9aea0;color:#934b3c}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-ticket-date{display:block;margin:7px 0 16px;font-size:12px;color:#87775d}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet :is(.sc-ticket-body,.sc-ticket-reply>div){white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-ticket-reply{margin-top:18px;padding:15px 18px;background:#edf3e6;border:1px solid #c3d1b2;border-left:3px solid #5e8657;border-radius:6px;color:#405b38}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-ticket-reply strong{display:flex;align-items:center;gap:9px;margin-bottom:8px;font-size:13px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-ticket-bounty{display:flex;align-items:center;gap:8px;margin:14px 0 0;color:#7b622d;font-size:13px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;min-height:240px;padding:32px 16px;text-align:center;color:#81704e}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-placeholder p{margin:0;font-size:15px;overflow-wrap:anywhere}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-placeholder button{padding:10px 20px!important}
@container(max-width:690px){
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-hero{min-height:155px;padding:22px;gap:14px;background-position:65% center;background-image:linear-gradient(90deg,#fffaf0 0%,#fffaf0df 55%,#fffaf033 100%),url('../img/support-cabinet/stationery.webp')}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-tabs{margin:16px 16px 0}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet :is(.sc-compose,.sc-tickets){padding:20px 18px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-rewards{gap:10px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;text-align:center;padding:13px 10px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward img{width:75px;height:75px;margin:0 auto}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward>div{padding:0;border:0}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward h4{font-size:15px!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-categories{gap:6px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-category{flex-direction:column;font-size:12px!important;padding:9px 3px!important;gap:5px}
}
@container(max-width:400px){
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-hero{padding:20px 16px;gap:12px;min-height:138px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-emblem{flex-basis:48px;width:48px;height:48px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-emblem svg{width:28px!important;height:28px!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-eyebrow{font-size:10px;letter-spacing:.05em}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-tabs{margin:12px 10px 0;gap:3px;padding:3px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-tabs button{font-size:16px!important;gap:7px;padding:11px 6px!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-tabs svg{display:none}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-tabs button span{overflow-wrap:normal;word-break:normal}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet :is(.sc-compose,.sc-tickets){padding:18px 12px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-category-field{grid-template-columns:minmax(0,1fr);gap:8px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-categories{gap:5px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:18px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-category{flex-direction:column;gap:4px;min-height:61px;font-size:12px!important;padding:8px 3px!important}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward strong{font-size:24px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward span{font-size:12px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-rewards{grid-template-columns:minmax(0,1fr)}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward{display:flex;text-align:left;gap:12px;padding:12px}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward img{flex:0 0 70px;width:70px;height:80px;margin:0}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward>div{padding-left:12px;border-left:1px solid #d6bd8a}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-reward h4{font-size:16px!important;overflow-wrap:normal}
body:not(.crime-mode) #screen-game #premium-content.premium-boutique .support-cabinet .sc-ticket{padding:15px!important}
}
@media(prefers-reduced-motion:reduce){.support-cabinet *{transition:none!important;animation:none!important}}
