:root{color-scheme:dark;--bg:#0d0d0f;--surface:#18181b;--surface-raised:#222225;--line:#343438;--muted:#a6a6ae;--text:#f5f4f6;--red:#ef303c;--red-dark:#a00e1b;--gold:#eebf69;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-synthesis:none;background:var(--bg);color:var(--text);--secondary:#c2c2c8;--action:#ff8c96}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);min-height:100vh}
button,input,a{-webkit-tap-highlight-color:transparent}
button,input{font:inherit}
button,a{touch-action:manipulation}
button{color:inherit;cursor:pointer}
button{border:0}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #ff7e88;outline-offset:4px}
button:hover{filter:brightness(1.1)}
button:disabled{cursor:default}
button,input{font:inherit}
h1,h2,h3,p{margin:0}
h1,h2,h3{letter-spacing:-.035em}
h2{font-size:24px;line-height:1.2}
h3{font-size:17px;letter-spacing:0}
button{text-align:inherit}
.icon{width:24px;height:24px;flex-shrink:0;vertical-align:middle}
.red-dot{color:var(--red)}
.gold{color:var(--gold)}
.brand-header,main,.page-footer{max-width:1120px;margin:auto}
.brand-header{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:850;letter-spacing:-.04em}
.brand b{color:var(--red)}
.brand small{display:block;font-size:11px;color:var(--muted);letter-spacing:.04em;margin-top:5px;font-weight:500;text-transform:none}
.brand-mark{width:42px;height:44px;background:var(--red);display:grid;place-items:center;font-style:italic;font-size:36px;line-height:1;font-weight:950;clip-path:polygon(13% 0,100% 0,87% 100%,0 100%)}
.local-badge{display:flex;align-items:center;gap:8px;color:#9999a1;font-size:12px}
.local-badge i,.tiny-dot{width:5px;height:5px;display:block;background:var(--red);border-radius:50%}
.local-badge b{font-size:12px;border-left:1px solid var(--line);padding-left:12px;margin-left:4px;font-weight:500}
main{padding:34px 0 0;min-height:65vh;padding-top:24px}
main:focus{outline:none}
.greeting{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.greeting p{font-size:14px;color:var(--muted);margin-bottom:6px}
.greeting h1{font-size:27px;font-weight:730;letter-spacing:-.04em}
.round-emblem{width:44px;height:44px;border:1px solid #493037;border-radius:50%;background:#1e1419;display:grid;place-items:center;font-size:28px;font-weight:900;font-style:italic;color:var(--red)}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.text-button{display:flex;align-items:center;gap:8px;background:none;color:var(--red);font-size:13px;padding:8px 0 8px 12px}
.text-button .icon{width:18px;height:18px}
.section-note{color:var(--muted);font-size:12px;max-width:none}
.collections-track{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:14px;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:18px}
.collections-track::-webkit-scrollbar{display:none}
.collection-card{min-width:0;position:relative;overflow:hidden;min-height:280px;border-radius:18px;background:linear-gradient(140deg,#b31725,#6a0610);padding:28px;isolation:isolate;scroll-snap-align:start;border:1px solid #ff60603b}
.collection-card:after{content:"";position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(135deg,transparent,transparent 65px,#ffffff04 66px,#ffffff04 67px)}
.collection-card.coal{background:linear-gradient(140deg,#28272d,#151519);border-color:#39383f}
.collection-card.coal:before{content:"";position:absolute;inset:20px -65px -30px 55%;border:1px solid #c520354f;transform:skew(-20deg);z-index:-1}
.collection-hero{background:#a10e1d;padding:28px}
.collection-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#ad1120 0%,#a90f20ec 30%,#760b1880 54%,#0a0a0c00 100%);z-index:0}
.fighter{position:absolute;right:-52px;top:-18px;height:400px;width:auto;z-index:-1;filter:saturate(.65) contrast(1.05);pointer-events:none}
.collection-content{display:flex;align-items:flex-start;position:relative;flex-direction:column;height:100%;z-index:1}
.eyebrow{font-size:12px;letter-spacing:.02em;font-weight:500;line-height:1.6;color:#d5a3aa}
.eyebrow span{opacity:.65;letter-spacing:.07em}
.collection-content>strong{font-size:27px;line-height:1.05;max-width:200px;margin:17px 0 10px;letter-spacing:-.045em;font-weight:800}
.collection-hero .collection-content>strong{max-width:190px;font-size:34px}
.collection-description{font-size:12px;color:#edc6cc;line-height:1.5;max-width:160px}
.coal .collection-description{color:#a5a1ac}
.coal .eyebrow{color:#c19ca1}
.collection-action{display:flex;align-items:center;gap:14px;font-size:12px;font-weight:650;margin-top:auto;padding-top:28px}
.collection-action .icon{width:19px;height:19px}
.collection-hero .collection-action{margin-top:20px;padding:10px 16px;background:#f7f2f3;color:#a30e20;border-radius:8px;font-size:12px}
.collection-art{position:absolute;color:#ffffff0a;right:-22px;bottom:-23px;transform:rotate(-20deg)}
.collection-art .icon{width:180px;height:180px;stroke-width:.8}
.fighter-caption{position:absolute;bottom:12px;right:12px;text-align:right;font-size:11px;letter-spacing:.02em;font-weight:800;z-index:1}
.fighter-caption span{display:block;color:#c68e94;font-size:11px;margin-top:2px}
.carousel-caption{display:flex;justify-content:space-between;align-items:center;margin:15px 2px 0;color:#62626b;font-size:12px}
.carousel-progress{display:flex;align-items:center;gap:5px}
.carousel-progress i{width:5px;height:5px;border-radius:5px;background:#3a3035}
.carousel-progress i:first-child{width:24px;background:var(--red)}
.editor-section{margin-top:33px}
.editor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.service-card{position:relative;border-radius:16px;border:1px solid var(--line);background:var(--surface);overflow:hidden;min-width:0}
.service-card.featured:first-child{border-color:var(--line);background:var(--surface)}
.card-eyebrow{display:flex;justify-content:space-between;align-items:center;padding:12px 16px 0;letter-spacing:0;color:#9d878b;font-size:12px;font-weight:500}
.featured:first-child .card-eyebrow{color:var(--muted)}
.service-open{display:block;width:100%;background:none;padding:16px}
.service-top{display:flex;align-items:center;gap:12px;padding-right:18px}
.service-logo{--logo-color:#e95462;width:44px;height:44px;border:1px solid color-mix(in srgb,var(--logo-color) 30%,transparent);border-radius:12px;display:flex;position:relative;flex-shrink:0;align-items:center;justify-content:center;background:var(--surface-raised);color:var(--secondary);border-color:var(--line)}
.service-logo .icon{width:26px;height:26px;stroke-width:1.3}
.service-logo small{position:absolute;font-size:12px;bottom:3px;font-weight:800;letter-spacing:.07em}
.service-title{min-width:0}
.service-title h3{text-overflow:ellipsis;overflow:hidden;white-space:normal;font-size:16px;letter-spacing:0;margin-bottom:5px;overflow-wrap:anywhere}
.rating{font-size:13px;color:var(--secondary);line-height:1.5;display:flex;align-items:baseline;flex-wrap:wrap;gap:0 4px}
.rating b{color:var(--gold);font-size:12px}
.rating>span{font-size:12px;color:var(--muted);margin-left:0;display:block;flex-basis:100%}
.service-open>p{font-size:12px;line-height:1.65;color:#9c9aa5;min-height:40px;margin:16px 0 19px;max-width:92%}
.service-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center}
.service-bottom strong{font-size:16px;font-weight:700;letter-spacing:-.03em}
.service-bottom strong>span{font-size:12px;color:#7f7c87;font-weight:400;letter-spacing:0}
.trial{font-size:12px;color:#b4b9ab;border:1px solid #464b3e;background:#30362a44;border-radius:5px;padding:4px 6px}
.category-label{font-size:12px;color:var(--muted)}
.favorite{position:absolute;right:12px;top:20px;background:none;color:#62616b;padding:5px;border-radius:6px;display:grid;place-items:center}
.featured .favorite{top:44px}
.favorite .icon{width:16px;height:16px}
.favorite.saved{color:var(--red)}
.favorite.saved .icon{fill:#ef303c33}
.service-card:hover{border-color:#595058}
.service-card.featured:first-child:hover{border-color:#c18a58}
.catalog-section{margin-top:34px}
.catalog-count{font-size:12px;line-height:1.6;color:#d8d2d9}
.catalog-count>span{color:#6d6874;font-size:12px}
.catalog-heading{margin-top:28px;margin-bottom:18px}
.catalog-heading h2{display:flex;align-items:center;gap:9px}
.count{font-size:12px;color:#938a96;background:#232129;border:1px solid #37313a;border-radius:6px;padding:4px 6px;font-weight:500;letter-spacing:0}
.filter-tabs{display:flex;background:#17171d;padding:4px;gap:3px;border:1px solid #29272e;border-radius:8px}
.filter-tabs button{background:none;color:#8c8693;border-radius:5px;padding:7px 16px;font-size:12px}
.filter-tabs button.active{background:#382027;color:#fa727d}
.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.services-grid .service-open>p{margin-bottom:14px}
.page-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;color:#54515b;padding:30px 0 140px;margin-top:25px;border-top:1px solid #232127}
.page-footer>span{font-weight:800;letter-spacing:.1em}
.bottom-nav{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#1b1b1ef5;border:1px solid #38313c;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:22px;padding:7px;display:grid;grid-template-columns:repeat(4,1fr);width:min(480px,calc(100% - 24px));z-index:10;box-shadow:0 4px 20px #0004}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:15px;padding:11px;color:#7e7889;min-height:65px;font-size:12px;transition:color .2s,background .2s}
.bottom-nav a.active{background:#382126;color:#ff5665}
.bottom-nav a.active .icon{fill:#ef303c22}
.bottom-nav .icon{width:23px;height:23px}
.bottom-nav a:hover{color:#f2ccd2}
.page-title{margin:13px 0 30px}
.page-title h1,.profile-heading h1{font-size:38px;line-height:1.1;margin:12px 0}
.page-title>p,.profile-heading p{color:#8c8594;font-size:13px;line-height:1.8;max-width:570px}
.rank{font-size:17px;font-weight:700;color:#83747c;margin-right:2px;font-variant-numeric:tabular-nums}
.offers-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.offer-card{display:flex;align-items:center;gap:20px;padding:24px;background:linear-gradient(130deg,#2d1920,#19171e);border:1px solid #45272f;border-radius:14px}
.offer-days{color:#ff626e;font-size:38px;font-weight:800;letter-spacing:-.06em;min-width:70px}
.offer-days small{font-size:12px;margin-left:4px;letter-spacing:0}
.offer-card>span:nth-child(2){display:flex;flex-direction:column;gap:8px;flex:1}
.offer-card strong{font-size:16px}
.offer-card>span>span{color:#a38d97;font-size:12px}
.offer-card>.icon{width:17px;color:#a37783}
.profile-heading{text-align:center;padding:20px 0}
.profile-heading p{margin:auto}
.profile-avatar{margin:0 auto 18px;width:72px;height:72px;border-radius:24px;background:#461d28;border:1px solid #71313e;display:grid;place-items:center;color:#fa6778}
.profile-avatar .icon{width:34px;height:34px}
.profile-stats{display:flex;max-width:540px;margin:14px auto 45px;background:#18161d;border:1px solid var(--line);padding:20px;border-radius:16px}
.profile-stats div{display:flex;flex:1;gap:7px;align-items:center;flex-direction:column}
.profile-stats div+div{border-left:1px solid var(--line)}
.profile-stats strong{font-size:24px}
.profile-stats span{font-size:12px;color:#83788b}
.empty-state{grid-column:1/-1;text-align:center;padding:45px 20px;border:1px dashed #39303c;border-radius:14px;color:#9f92a6;font-size:14px;line-height:1.8}
.info-panel{display:flex;align-items:flex-start;gap:11px;border:1px solid #3d3036;background:#241c2177;padding:16px;border-radius:10px;color:#9e8d9a;margin:22px 0}
.info-panel .icon{width:18px;height:18px;margin-top:2px}
.info-panel p{font-size:12px;line-height:1.8}
.back-link{display:flex;align-items:center;gap:8px;background:none;padding:0;color:#c58b98;font-size:12px;margin-bottom:25px}
.back-link .icon{transform:rotate(180deg);width:17px}
.skip-link{position:fixed;top:10px;left:10px;background:var(--red);padding:12px;z-index:100;transform:translateY(-200%)}
.skip-link:focus{transform:translateY(0)}
.modal-open{overflow:hidden}
.detail-dialog{position:fixed;background:#18161d;color:var(--text);border:1px solid #49323e;border-radius:20px;width:calc(100% - 32px);max-width:520px;max-height:85dvh;overflow:auto;padding:32px;box-shadow:0 30px 100px #000b}
.detail-dialog::backdrop{background:#030305bf;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.dialog-close{position:absolute;right:14px;top:14px;padding:7px;background:#2b242e;color:#b7aabf;border-radius:50%;display:grid;place-items:center}
.dialog-close .icon{width:18px;height:18px}
.detail-head>.service-logo{width:68px;height:68px;border-radius:20px;margin-bottom:20px}
.detail-head>.service-logo .icon{width:38px;height:38px}
.detail-head>.service-logo small{font-size:12px;bottom:6px}
.detail-head h2{font-size:30px;margin-top:9px}
.detail-head p{color:#ab9dae;font-size:14px;line-height:1.6;margin:12px 0 23px}
.detail-facts{display:flex;gap:20px;border-block:1px solid #332933;padding:18px 0}
.detail-facts>div{display:flex;flex-direction:column;gap:10px;flex:1}
.detail-facts>div>span{font-size:12px;color:#9d8c9d}
.detail-facts strong{font-size:19px}
.detail-facts strong>span:not(.gold){font-size:12px;font-weight:400;color:#9d8c9d}
.detail-trial{display:flex;align-items:center;gap:10px;margin-top:20px;color:#b9c0ac;font-size:12px}
.detail-trial .icon{width:18px;height:18px}
.primary-button{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--red);padding:15px;border-radius:10px;font-size:13px;font-weight:650}
.primary-button .icon{width:18px;height:18px}
.full{width:100%}
.detail-footnote{color:#7c6d82;font-size:12px;text-align:center;margin-top:15px;line-height:1.6}
.detail-dialog>h2{font-size:30px;margin:8px 0 25px}
.all-collections{display:flex;flex-direction:column;gap:4px}
.all-collections>button{background:none;display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #302630}
.collection-number{font-size:12px;font-weight:700;color:#aa465d;font-variant-numeric:tabular-nums}
.all-collections>button>span:nth-child(2){display:flex;flex-direction:column;gap:6px;flex:1}
.all-collections strong{font-size:14px;font-weight:600}
.all-collections small{font-size:12px;color:#9a869e}
.all-collections .icon{width:16px;color:#876c86}
#toast{position:fixed;left:50%;bottom:118px;transform:translate(-50%,15px);max-width:calc(100% - 32px);width:max-content;background:#372630;color:#ffe5eb;z-index:30;border:1px solid #805063;border-radius:10px;padding:12px 18px;opacity:0;pointer-events:none;font-size:12px;transition:opacity .2s,transform .2s}
#toast.visible{opacity:1;transform:translate(-50%,0)}
.collection-hero .fighter{right:-10px;mask-image:linear-gradient(90deg,transparent 48%,#000 68%);-webkit-mask-image:linear-gradient(90deg,transparent 48%,#000 68%)}
.collection-hero:before{background:linear-gradient(90deg,#ad1120 0%,#a90f20 35%,#a90f20c9 53%,#760b1800 87%)}
@media(min-width:1350px){.brand-header,main,.page-footer{max-width:1120px}
.collection-card{min-height:290px}}
@media(max-width:1190px){.brand-header,main,.page-footer{margin-inline:30px}
.collection-card{padding:24px}
.collection-content>strong{font-size:25px}
.collection-hero .collection-content>strong{font-size:32px}
.rating>span{display:block;font-size:12px;margin-left:0;color:var(--muted);flex-basis:100%}}
@media(max-width:800px){.brand-header,main,.page-footer{margin-inline:22px}
.brand-header{height:72px}
main{padding-top:24px}
.greeting{margin-bottom:16px}
.greeting h1{font-size:25px}
.collections-track{grid-template-columns:1.35fr 1fr}
.collection-card:nth-child(3){display:none}
.collection-card{min-height:275px}
.editor-grid{gap:10px}
.service-open{padding:16px}
.service-title h3{font-size:14px;letter-spacing:0;white-space:normal;overflow-wrap:anywhere}
.service-logo{width:36px;height:38px;border-radius:12px;background:var(--surface-raised);border-color:var(--line);color:var(--secondary)}
.service-logo .icon{width:22px;height:22px}
.service-top{gap:12px}
.service-open>p{font-size:12px}
.service-bottom strong{font-size:14px}
.card-eyebrow{padding-inline:13px;font-size:12px;letter-spacing:0;font-weight:500;padding:12px 16px 0}
.favorite{right:7px}
.service-bottom{gap:4px}
.trial{font-size:12px;padding:3px 4px}
.services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.editor-grid .service-title h3{max-width:110px}
.editor-grid .service-bottom{align-items:flex-start;flex-direction:column;gap:9px}
.page-footer>span:last-child{display:none}
.offers-grid{gap:10px}
.offer-card{padding:20px 15px;gap:12px}
.offer-days{font-size:32px;min-width:55px}}
@media(max-width:520px){.brand-header,main,.page-footer{margin-inline:20px}
.brand-header{height:72px}
.brand{font-size:16px;gap:9px}
.brand-mark{width:32px;height:35px;font-size:29px}
.brand small{font-size:11px;letter-spacing:.04em;text-transform:none}
.local-badge{font-size:0;gap:7px}
.local-badge b{font-size:12px;border:0;padding:0;margin:0;color:#8a7784}
.local-badge i{width:4px;height:4px}
main{padding-top:24px}
.greeting{margin-bottom:16px}
.greeting p{font-size:13px}
.greeting h1{font-size:23px;max-width:260px;line-height:1.2}
.round-emblem{width:38px;height:38px;font-size:25px;margin-left:14px;flex-shrink:0}
h2{font-size:23px}
.section-heading{margin-bottom:12px}
.text-button{font-size:12px}
.collections-track{display:flex;overflow-x:auto;gap:12px;margin-inline:-20px;padding:0 20px;border-radius:0;scroll-padding-left:20px}
.collection-card{flex:0 0 85%;min-height:265px;padding:25px}
.collection-card:nth-child(3){display:block}
.collection-hero .collection-content>strong{font-size:33px;max-width:170px}
.collection-content>strong{font-size:32px;max-width:180px}
.collection-description{font-size:12px;max-width:160px}
.fighter{height:375px;right:-50px;top:-14px}
.fighter-caption{right:12px;bottom:12px;font-size:11px;letter-spacing:.02em}
.carousel-caption>span:last-child{font-size:12px}
.editor-section{margin-top:28px}
.section-note{font-size:12px;max-width:none;text-align:right;line-height:1.5}
.editor-grid{display:flex;overflow-x:auto;gap:12px;margin-inline:-20px;padding:0 20px;scroll-snap-type:x mandatory;scroll-padding-left:20px;scrollbar-width:none}
.editor-grid .service-card{flex:0 0 78%;scroll-snap-align:start}
.editor-grid .service-open{padding:17px}
.editor-grid .card-eyebrow{padding:14px 17px 0;font-size:12px}
.editor-grid .service-title h3{max-width:180px;font-size:17px}
.editor-grid .service-logo{width:44px;height:44px;border-radius:13px}
.editor-grid .service-logo .icon{width:26px;height:26px}
.editor-grid .service-open>p{font-size:13px;margin:16px 0 20px}
.editor-grid .service-bottom{flex-direction:row;align-items:center}
.editor-grid .service-bottom strong{font-size:18px}
.editor-grid .favorite{right:12px}
.editor-grid .trial{font-size:12px;padding:4px 6px}
.catalog-section{margin-top:27px}
.catalog-count{display:none}
.catalog-heading{gap:8px;margin-top:28px}
.catalog-heading h2{font-size:22px;gap:7px}
.filter-tabs{gap:1px;padding:3px;border-radius:7px}
.filter-tabs button{padding:7px 9px;font-size:12px}
.count{font-size:12px;padding:3px 5px}
.services-grid{grid-template-columns:1fr;gap:10px}
.services-grid .service-open{padding:17px}
.services-grid .service-logo{width:42px;height:42px;border-radius:12px}
.services-grid .service-title h3{font-size:16px}
.services-grid .service-open>p{font-size:12px;margin-top:13px;min-height:0}
.services-grid .favorite{right:12px;top:19px}
.services-grid .service-bottom strong{font-size:16px}
.services-grid .trial{font-size:12px;padding:4px 6px}
.bottom-nav{bottom:max(10px,env(safe-area-inset-bottom));border-radius:22px;padding:6px;width:calc(100% - 20px);background:#1b1b1ef5;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 4px 20px #0004}
.bottom-nav a{padding:10px;min-height:62px;font-size:12px;gap:5px}
.bottom-nav .icon{width:23px;height:23px}
.page-footer{padding-bottom:115px;flex-direction:column;align-items:flex-start;gap:8px;margin-top:25px}
.page-title h1,.profile-heading h1{font-size:31px}
.page-title>p{font-size:12px}
.page-title{margin-top:5px}
.offers-grid{grid-template-columns:1fr}
.offer-card{padding:22px}
.offer-days{min-width:65px}
.detail-dialog{padding:25px 22px;border-radius:18px}
.detail-head h2{font-size:27px}
.detail-facts{gap:10px}
.detail-facts>div>span{font-size:12px}
.detail-facts strong{font-size:17px}
.profile-stats{margin-bottom:35px}
.profile-stats span{font-size:12px}
#toast{bottom:100px}
.back-link{margin-bottom:25px}}
.data-caption{font-size:12px;line-height:1.7;color:#968b9d;margin:12px 0 19px}
.data-notice{display:flex;gap:10px;align-items:flex-start;padding:14px 16px;border:1px solid #483039;background:#271a20;border-radius:10px;font-size:12px;line-height:1.7;color:#d4a9b5;margin:0 0 20px}
.data-notice .icon{width:18px;height:18px;margin-top:1px}
.offer-card>span>span{line-height:1.7}
#retry-catalog{margin:20px auto 0}
.service-bottom strong{overflow-wrap:anywhere}
.service-bottom .category-label{flex-shrink:0}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.service-monogram{font-size:12px;font-weight:600;letter-spacing:0;line-height:1}

.collection-index-heading{margin:8px 0 30px}
.collection-index-heading h1{font-size:42px;margin:10px 0}
.collection-index-heading p{color:#ab99a5;font-size:14px;line-height:1.7}
.collection-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.directory-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:235px;padding:25px;border:1px solid #6e3345;border-radius:19px;background:radial-gradient(ellipse at 100% 100%,#ad234b38,transparent 70%),linear-gradient(135deg,#381d28,#1c151d);overflow:hidden}
.directory-card.coal{border-color:#3a303b;background:linear-gradient(140deg,#252029,#151319)}
.directory-card:hover{border-color:#e16b87;background-color:#442431}
.directory-icon{color:#f07990;display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#a3354e25;border:1px solid #d8647b33;margin-bottom:21px}
.directory-icon .icon{width:24px;height:24px}
.directory-number{position:absolute;top:17px;right:24px;font-size:46px;color:#ffffff09;font-weight:900;letter-spacing:-.06em}
.directory-card h2{font-size:24px;line-height:1.1;max-width:100%;text-wrap:balance}
.directory-card p{font-size:12px;color:#bda6b3;margin:10px 0 24px;line-height:1.5}
.directory-bottom{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:auto;font-size:12px;color:#ecb6c3}
.directory-bottom .icon{width:18px;height:18px}
.collection-navigation{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:25px}
.collection-navigation .back-link{margin:0;min-height:36px}
.collection-navigation>a{font-size:12px;color:#a98b9b;display:flex;align-items:center;gap:8px}
.collection-navigation>a .icon{width:16px;height:16px}
.collection-cover{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(120deg,#982a40,#331724);border:1px solid #82334a;border-radius:24px;padding:38px;min-height:220px;display:flex;align-items:center}
.collection-cover.coal{background:linear-gradient(130deg,#3b2835,#1d1821);border-color:#5c374b}
.collection-cover:after{content:"";position:absolute;inset:-70px 15% -90px 60%;transform:skew(-24deg);border:1px solid #ff7b9b24;z-index:-1}
.collection-cover h1{font-size:44px;line-height:1.05;max-width:700px;margin:16px 0 12px;text-wrap:balance}
.collection-cover p{font-size:15px;line-height:1.5;color:#e3b6c7;max-width:80%}
.collection-cover+.services-grid{margin-top:24px}
.cover-icon{position:absolute;right:40px;bottom:-20px;color:#ef739744;transform:rotate(-15deg);z-index:-1}
.cover-icon .icon{width:220px;height:220px;stroke-width:1}
.collection-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:24px 0;border-bottom:1px solid #30232e;margin-bottom:24px}
.collection-metrics>div{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;padding:0 8px}
.collection-metrics>div+div{border-left:1px solid #392b36}
.collection-metrics strong{font-size:25px;letter-spacing:-.04em}
.collection-metrics span{font-size:12px;color:#ac92a2;line-height:1.5}
.collection-intro{font-size:14px;line-height:1.8;color:#c5b3c0;max-width:760px;margin:0 0 23px}
.collection-jumps{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0}
.collection-jumps button{background:#241a24;color:#d4b5c7;border:1px solid #513248;border-radius:24px;padding:11px 17px;font-size:12px}
.collection-jumps button span{margin-left:12px;color:#ff839c;font-size:12px}
.collection-group{margin-top:30px;scroll-margin-top:24px;outline:none}
.collection-group:focus-visible{outline:2px solid #ff7e88;outline-offset:7px}
.collection-group .section-heading{justify-content:flex-start}
.collection-group .count{margin-left:3px}
.collection-group h2{font-size:25px}
.collection-bottom-link{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #523244;background:#271b25;border-radius:14px;padding:18px;margin-top:32px;font-size:13px;color:#e1b3c4}
.collection-bottom-link .icon{width:18px;height:18px}
.collection-empty{text-align:center;padding:48px 24px;border:1px dashed #513047;border-radius:19px}
.collection-empty>span{color:#d87394}
.collection-empty>span .icon{width:40px;height:40px;margin-bottom:18px}
.collection-empty h1,.collection-empty h2{font-size:28px}
.collection-empty p{font-size:14px;line-height:1.8;color:#bda1b3;max-width:480px;margin:16px auto 24px}
.collection-empty .primary-button{width:fit-content;margin:auto}
@media(max-width:800px){.collection-directory{grid-template-columns:repeat(2,minmax(0,1fr))}
.collection-cover h1{font-size:38px}
.collection-cover{padding:30px}
.directory-card{padding:23px}}
@media(max-width:520px){.collection-directory{grid-template-columns:1fr;gap:12px}
.directory-card{min-height:185px;padding:23px}
.directory-icon{margin-bottom:16px}
.directory-card h2{font-size:25px}
.directory-card p{margin:9px 0 20px}
.directory-number{font-size:62px;top:18px;right:20px}
.collection-index-heading h1{font-size:35px}
.collection-index-heading p{font-size:13px}
.collection-cover{padding:26px;min-height:225px;border-radius:21px}
.collection-cover h1{font-size:34px;overflow-wrap:anywhere}
.collection-cover p{font-size:13px;max-width:95%}
.cover-icon{right:-22px;bottom:-15px}
.cover-icon .icon{width:170px;height:170px}
.collection-metrics{padding:22px 0}
.collection-metrics strong{font-size:21px;white-space:nowrap}
.collection-metrics span{font-size:12px}
.collection-intro{font-size:13px}
.collection-navigation{margin-bottom:20px}
.collection-jumps{gap:7px}
.collection-jumps button{padding:10px 12px;font-size:12px}
.collection-group h2{font-size:23px}
.collection-navigation>a{font-size:12px}
.collection-empty{padding:32px 19px}}
@media(max-width:360px){.collection-cover h1{font-size:29px}
.collection-cover{padding:23px}
.collection-metrics strong{font-size:18px}
.collection-metrics span{font-size:12px}
.directory-card h2{font-size:23px}}

.catalog-heading{flex-wrap:wrap;row-gap:14px}
.search-empty{grid-column:1/-1;padding:36px 24px;border:1px dashed #51323c;border-radius:18px;text-align:center}
.search-empty>.icon{width:30px;height:30px;color:#dc6a7d;margin-bottom:13px}
.search-empty h3{font-size:21px;margin:0 0 12px}
.search-empty p{color:#b6a4ae;font-size:13px;line-height:1.7;max-width:440px;margin:0 auto 20px;overflow-wrap:anywhere}
.search-empty-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.search-empty-actions button{background:#301d25;border:1px solid #67404d;color:#f0ced8;border-radius:12px;padding:12px 18px;font-size:12px}
#catalog-title:focus-visible{outline:2px solid #ed586d;outline-offset:5px;border-radius:4px}
@media(max-width:520px){
.search-empty{padding:28px 18px}
.search-empty h3{font-size:19px}}

.catalog-toolbar{display:flex;align-items:flex-end;gap:12px;margin:20px 0 14px;flex-wrap:wrap}
.filter-toggle,.filter-reset{min-height:44px;border-radius:11px;padding:10px 16px;background:#281a21;border:1px solid #65404c;color:#e9c5d0;font-size:12px}
.filter-toggle[aria-expanded=true]{background:#4a202d;border-color:#af4d62;color:#fff}
.filter-toggle span{margin-left:7px;background:#d43851;color:white;border-radius:5px;padding:2px 5px;font-size:12px}
.filter-reset{background:none;border-color:#393039;color:#c1aab5;margin-left:auto}
.catalog-control{display:flex;flex-direction:column;gap:7px;min-width:0}
.catalog-control>span{font-size:12px;color:#bba4b0}
.catalog-control select{width:100%;min-height:44px;border:1px solid #49313d;border-radius:11px;background:#20191f;color:#f0e5ea;padding:10px 30px 10px 12px;font:inherit;font-size:12px;color-scheme:dark;cursor:pointer}
.catalog-toolbar .catalog-control{min-width:220px}
.catalog-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:20px;background:#171217;border:1px solid #422936;border-radius:16px}
.catalog-filters.without-trial{grid-template-columns:repeat(2,minmax(0,1fr))}
.catalog-filters>p{grid-column:1/-1;font-size:12px;line-height:1.7;color:#ac929f;margin:0}
.filter-summary{font-size:12px;color:#d7b3c2;line-height:1.6;margin:12px 0 18px;overflow-wrap:anywhere}
@media(max-width:650px){.catalog-filters,.catalog-filters.without-trial{grid-template-columns:1fr;gap:14px;padding:16px}
.catalog-toolbar{gap:10px}
.catalog-toolbar .catalog-control{flex:1;min-width:180px}
.filter-reset{margin:0}
.filter-summary{font-size:12px}
.catalog-control select{font-size:13px}}
@media(max-width:360px){.catalog-toolbar .catalog-control{min-width:160px}
.filter-toggle{padding-inline:12px}}

.catalog-heading .catalog-title-line{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%}
.catalog-heading .filter-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(480px,100%);gap:4px;padding:5px;border-radius:12px}
.catalog-heading .filter-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px;border-radius:8px;font-size:12px}
.catalog-heading .filter-tabs button span{font-size:12px;opacity:.65;font-variant-numeric:tabular-nums}
.catalog-source-note{font-size:12px;color:#cf98a3;line-height:1.6;margin:0 0 15px}
.catalog-rows{display:flex;flex-direction:column;gap:8px}
.catalog-row{position:relative;border:1px solid var(--line);border-radius:15px;background:var(--surface);transition:border-color .15s}
.catalog-row:hover,.catalog-row:focus-within{border-color:#a83c50}
.catalog-row-open{display:grid;grid-template-columns:46px minmax(0,1fr) 150px 16px;align-items:center;gap:12px;width:100%;min-height:106px;padding:18px 64px 18px 18px;background:none;border-radius:14px;row-gap:8px}
.catalog-row .service-logo{height:46px;width:46px;border-radius:13px}
.catalog-row .service-logo .icon{width:25px;height:25px}
.catalog-row .service-logo small{font-size:12px}
.catalog-row-copy{display:flex;flex-direction:column;gap:7px;min-width:0}
.catalog-row-name{font-size:17px;line-height:1.3;font-weight:700;letter-spacing:0;overflow-wrap:anywhere}
.catalog-row-description{font-size:13px;line-height:1.5;color:var(--secondary);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.catalog-row-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;color:var(--muted);font-size:12px;line-height:1.5}
.catalog-row .rating{font-size:13px;white-space:normal}
.catalog-row .rating>span{display:block}
.catalog-row-trial{color:#d19d82}
.catalog-row-price{text-align:right;font-size:17px;font-weight:700;line-height:1.5;white-space:nowrap}
.catalog-row-price>span{font-size:12px;color:var(--muted);font-weight:400}
.catalog-row-price.unknown-price{color:var(--muted);font-weight:400;font-size:12px;white-space:normal}
.catalog-row-arrow{color:#75505d}
.catalog-row-arrow .icon{width:16px;height:16px}
.catalog-row .favorite{right:12px;top:16px;min-width:40px;min-height:40px;border-radius:10px}
.catalog-row .favorite .icon{width:18px;height:18px}
.catalog-list-end{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);margin-top:24px;padding-top:18px;color:var(--muted);font-size:12px}
.catalog-list-end button{background:#281a21;border:1px solid #58323e;border-radius:10px;color:#e5b3bf;padding:12px 16px;font-size:12px;min-height:44px}
@media(max-width:650px){.catalog-row-open{grid-template-columns:40px minmax(0,1fr);column-gap:12px;row-gap:8px;padding:16px 48px 16px 14px;align-items:start;gap:12px}
.catalog-row .service-logo{width:40px;height:40px}
.catalog-row-copy{gap:5px}
.catalog-row-name{font-size:15px;letter-spacing:0}
.catalog-row-description{font-size:13px}
.catalog-row-meta{font-size:12px;gap:5px 9px}
.catalog-row-price{grid-column:2;text-align:left;font-size:15px}
.catalog-row-price>span{font-size:12px}
.catalog-row-arrow{position:absolute;right:24px;bottom:18px}
.catalog-row .favorite{top:8px;right:8px}
.catalog-row .rating{font-size:13px;white-space:normal}
.catalog-row-price.unknown-price{font-size:12px}
.catalog-list-end{font-size:12px;align-items:flex-start}
.catalog-list-end button{font-size:12px;padding:10px 13px;flex-shrink:0}
.catalog-heading .filter-tabs button{font-size:12px;gap:5px;padding:6px 3px}
.catalog-heading .filter-tabs button span{font-size:12px}
.catalog-source-note{font-size:12px}}
@media(max-width:360px){.catalog-heading .filter-tabs{gap:2px;padding:3px}
.catalog-heading .filter-tabs button{font-size:12px;gap:3px}
.catalog-title-line h2{font-size:20px}
.catalog-row-open{padding-left:11px;column-gap:10px;grid-template-columns:34px minmax(0,1fr);gap:12px;row-gap:8px}
.catalog-row .service-logo{width:34px;height:36px}
.catalog-row-name{font-size:14px;letter-spacing:0}}
@media(prefers-reduced-motion:reduce){.catalog-row{transition:none;background:var(--surface)}}

.detail-dialog{width:min(640px,calc(100% - 24px));max-width:640px;height:min(850px,92dvh);max-height:92dvh;padding:0;overflow:hidden;background:#131216;border-radius:24px;border-color:#53303b}
.detail-dialog[open]{display:flex;flex-direction:column}
.detail-bar{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:15px;padding:12px 20px;border-bottom:1px solid var(--line);background:#1c151b}
.detail-bar>span{font-size:12px;font-weight:700;letter-spacing:.08em;color:#c29aa7}
.detail-bar .dialog-close{position:static;width:40px;height:40px;flex-shrink:0;border-radius:12px;background:#33202a}
.detail-scroll{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;min-height:0;padding:26px;flex:1}
.detail-scroll:focus{outline:none}
.detail-scroll:focus-visible{outline:2px solid #ef7589;outline-offset:-3px}
.service-detail-heading>.service-logo{width:62px;height:62px;margin-bottom:17px;border-radius:18px}
.service-detail-heading>.eyebrow{display:block}
.service-detail-heading h2{font-size:32px;line-height:1.1;margin:9px 0 12px;overflow-wrap:anywhere}
.service-detail-heading p{font-size:14px;line-height:1.7;color:#b8a7b1}
.detail-status{display:inline-block;font-size:12px;color:#e59aaa;background:#42212b77;border:1px solid #703244;padding:7px 10px;border-radius:7px;margin:15px 0 20px}
.service-detail-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.service-detail-metrics>div{min-width:0;padding:16px;background:#211920;border:1px solid #402c36;border-radius:13px;display:flex;flex-direction:column;gap:9px}
.service-detail-metrics span{font-size:12px;color:#ae929f}
.service-detail-metrics strong{font-size:23px;line-height:1.35}
.service-detail-metrics strong>span{font-size:12px}
.service-detail-metrics small{font-size:12px;line-height:1.5;color:#a18c99}
.detail-section{margin-top:28px}
.detail-section h3{font-size:19px;margin-bottom:14px}
.detail-section p{font-size:13px;line-height:1.75;color:#bbabb5}
.detail-section>p+.fact-origin{margin-top:10px}
.fact-origin{display:block;font-size:12px;line-height:1.6;color:#a88d9a;background:none;padding:4px 0;text-align:left}
.fact-origin.official{color:#b9c7af}
.fact-origin.unknown{color:#857680}
.fact-origin:not(.unknown){text-decoration:underline;text-decoration-color:#68505c;text-underline-offset:3px}
.service-detail-facts{margin:0}
.service-detail-facts>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;padding:12px 0;border-bottom:1px solid #30232a}
.service-detail-facts dt{font-size:12px;color:#a78e9c}
.service-detail-facts dd{margin:0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.trial-panel{display:flex;gap:13px;background:#291e24;border:1px solid #593340;padding:16px;border-radius:13px;margin-bottom:15px}
.trial-panel>.icon{color:#d893a2;width:21px}
.trial-panel strong{font-size:13px;line-height:1.6;display:block;margin-bottom:6px}
.trial-panel p{font-size:12px}
.trial-panel.free{border-color:#4c4b3d;background:#23231f}
.detail-note{padding:14px;border-left:2px solid #875263;background:#241820;margin-top:14px;border-radius:0 10px 10px 0}
.detail-note p{font-size:12px}
.detail-note strong{font-size:12px;color:#e7a5b3}
.discrepancy{border-color:#d89c55}
.detail-collections{display:flex;flex-wrap:wrap;gap:8px}
.detail-collections a{display:flex;align-items:center;gap:5px;background:#2a1b24;border:1px solid #50313f;border-radius:10px;padding:11px 12px;font-size:12px;color:#dfbac7}
.detail-collections .icon{width:14px;height:14px}
.detail-source{padding:14px 0;border-bottom:1px solid #33262f;scroll-margin-top:15px}
.detail-source strong{display:block;font-size:12px;line-height:1.6}
.detail-source>span{display:block;color:#9b8290;font-size:12px;line-height:1.7;margin:5px 0}
.detail-source a{display:inline-flex;gap:7px;align-items:center;font-size:12px;color:#f08b9f;padding:7px 0}
.detail-source .icon{width:14px;height:14px}
.detail-source:focus{outline:1px solid #be526b;outline-offset:5px}
.detail-final-note{font-size:12px;line-height:1.7;color:#a38c98;margin:24px 0 4px}
.detail-footer{flex-shrink:0;padding:14px 20px max(14px,env(safe-area-inset-bottom));border-top:1px solid #4b2a37;background:#1b1319}
.detail-footer button{min-height:46px}
.detail-footer button[aria-pressed=true]{background:#41212d;color:#f7b7c8;border:1px solid #9a455b}
@media(max-width:520px){.detail-dialog{width:calc(100% - 16px);height:92dvh;border-radius:20px}
.detail-scroll{padding:22px 18px}
.detail-bar{padding:10px 14px}
.service-detail-heading h2{font-size:28px}
.service-detail-heading p{font-size:13px}
.service-detail-metrics>div{padding:13px 11px}
.service-detail-metrics strong{font-size:20px}
.service-detail-facts>div{grid-template-columns:90px minmax(0,1fr);gap:10px}
.detail-footer{padding-inline:14px}
.detail-section h3{font-size:18px}}
@media(max-width:360px){.service-detail-metrics strong{font-size:17px}
.service-detail-metrics small{font-size:12px}
.service-detail-facts>div{grid-template-columns:1fr;gap:4px}
.service-detail-heading h2{font-size:25px}
.detail-scroll{padding:19px 15px}}
.destination-info{margin-top:22px;padding:17px;border:1px solid #653140;border-radius:13px;background:#2c1922}
.destination-info h3{font-size:17px;margin-bottom:9px}
.destination-info>strong{display:block;font-size:14px;color:#ffc4cf;overflow-wrap:anywhere}
.destination-info p{font-size:12px;line-height:1.65;color:#d5b5c3;margin-top:9px}
.destination-info a{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#ffafc1;min-height:40px}
.destination-info a .icon{width:14px;height:14px}
.destination-info .destination-disclaimer{font-size:12px;color:#bda2b0;border-top:1px solid #5b3443;padding-top:10px}
.destination-info.unavailable{background:#211b23;border-color:#50404d}
.detail-footer .destination-open{min-height:46px;margin-bottom:9px}
.detail-footer .destination-unavailable{width:100%;text-align:center;border:1px solid #59434e;background:#292029;color:#bda5b1;border-radius:10px;font-size:12px;margin-bottom:9px}
.detail-footer .detail-favorite-button{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #774255;background:#34212d;border-radius:10px;font-size:12px;padding:10px;color:#f6c2d0}
.detail-favorite-button .icon{width:18px;height:18px}

.favorites-section{margin-top:26px}
#favorites-list .services-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
#favorites-list .service-title{flex:1}
#favorites-list .service-title h3{white-space:nowrap;overflow-wrap:normal;text-overflow:ellipsis;overflow:hidden}
#favorites-list .service-open{display:flex;flex-direction:column;height:100%;text-align:left}
#favorites-list .service-top,#favorites-list .service-bottom{width:100%;min-width:0}
#favorites-list .service-open>p{min-height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#favorites-list .service-bottom{margin-top:auto;flex-wrap:wrap}
#favorites-list .service-bottom strong{white-space:nowrap}
.favorites-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.favorites-heading h2{display:flex;align-items:center;gap:10px}
.favorites-heading>a{font-size:12px;color:#e7a0b2;white-space:nowrap}
.favorites-hint{color:#ac95a2;font-size:12px;line-height:1.7;margin:0 0 20px}
.favorites-empty{display:flex;align-items:center;flex-direction:column;padding:38px 24px;border:1px solid #4b2b37;border-radius:20px;background:radial-gradient(ellipse at top,#421d2b66,transparent 75%),#171319;text-align:center}
.favorites-empty>.icon{width:38px;height:38px;color:#ed728c;margin-bottom:20px}
.favorites-empty h3{font-size:22px;line-height:1.3;margin-bottom:12px}
.favorites-empty p{font-size:13px;line-height:1.8;color:#baa3b2;max-width:340px;margin-bottom:23px}
.favorites-empty .primary-button{min-height:46px;padding-inline:24px}
.favorites-storage{display:flex;align-items:center;gap:16px;justify-content:space-between;background:#30202a;border:1px solid #86516a;border-radius:12px;padding:15px;margin-bottom:24px}
.favorites-storage[hidden]{display:none}
.favorites-storage p{color:#efd5df;font-size:12px;line-height:1.7}
.favorites-storage button{border:1px solid #aa607c;border-radius:9px;background:#4d293a;font-size:12px;padding:12px;flex-shrink:0}
.favorites-storage button:focus-visible,.favorites-heading a:focus-visible{outline:2px solid #ff9db8;outline-offset:3px}
.favorite-count-badge{min-width:19px;padding:2px 5px;background:#a6324e;border-radius:8px;color:#fff;font-size:12px;line-height:1.2}
.favorite-count-badge[hidden]{display:none}
.bottom-nav a>span{display:flex;align-items:center;gap:4px}
.detail-save-status{font-size:12px;line-height:1.6;color:#e9b1c3;margin-bottom:10px}
.detail-save-status:empty{display:none}
@media(max-width:520px){.favorites-storage{align-items:stretch;flex-direction:column;gap:12px}
.favorites-heading h2{font-size:23px}
.favorites-heading>a{font-size:12px}
.favorites-empty{padding:30px 18px}
.favorites-empty h3{font-size:21px}
.bottom-nav a{padding-inline:7px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.top-header{margin-bottom:20px}
.top-header h1{font-size:46px}
.top-date{display:inline-flex;color:#c990a3;background:var(--surface-raised);border:1px solid #4b2534;border-radius:7px;font-size:12px;line-height:1.6;padding:7px 10px;margin-top:18px}
.top-jumps{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0 36px}
.top-jumps button{background:var(--surface-raised);color:#dab7c5;border:1px solid #4b2b3b;border-radius:9px;padding:11px 15px;font-size:12px;min-height:42px}
.top-jumps button:hover{background:#432031;border-color:#a54c69}
.top-section{margin-top:38px;scroll-margin-top:20px}
.top-section h2{scroll-margin-top:24px}
.top-section h2:focus-visible{outline:2px solid #f28ba6;outline-offset:6px}
.top-caption{font-size:12px;line-height:1.8;color:var(--secondary);max-width:760px;margin:-3px 0 20px}
.top-editor-grid,.top-new-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:15px}
.top-editor-grid .service-card{min-width:0}
.top-editor-grid .service-title h3,.top-new-grid .service-title h3{white-space:nowrap;overflow-wrap:normal;text-overflow:ellipsis;overflow:hidden}
.top-editor-grid .service-open,.top-new-grid .service-open{padding:18px;display:flex;flex-direction:column;height:100%;gap:16px;text-align:left}
.top-editor-grid .service-top,.top-new-grid .service-top{width:100%;min-width:0}
.top-editor-grid .service-title,.top-new-grid .service-title{flex:1}
.top-editor-grid .service-open>p,.top-new-grid .service-open>p{margin:0;max-width:100%;min-height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.top-editor-grid .service-bottom,.top-new-grid .service-bottom{width:100%;margin-top:auto;flex-wrap:wrap}
.top-editor-grid .service-bottom strong,.top-new-grid .service-bottom strong{white-space:nowrap}
.top-editor-grid .card-eyebrow{padding:17px 21px 0}
.top-editor-grid .service-top{padding-right:24px}
.top-method{background:var(--surface);border:1px solid var(--line);border-radius:12px;margin-bottom:18px}
.top-method summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:16px 20px;font-size:13px;list-style:none;color:#e8bfce}
.top-method summary::-webkit-details-marker{display:none}
.top-method summary>.icon{width:16px;height:16px;transform:rotate(90deg)}
.top-method[open] summary>.icon{transform:rotate(-90deg)}
.top-method>div{border-top:1px solid var(--line);padding:6px 20px 17px}
.top-method p{font-size:12px;line-height:1.8;color:var(--secondary);margin-top:12px}
.top-leaders{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:9px}
.top-leader{position:relative;border:1px solid #352934;border-radius:13px;background:#18151c;min-width:0}
.top-leader.podium{background:linear-gradient(110deg,#321922,#19151c 65%);border-color:#653044}
.top-leader-open{display:flex;align-items:center;gap:17px;width:100%;padding:19px 65px 19px 20px;background:none;text-align:left;min-width:0}
.top-position{font-size:20px;font-weight:750;font-variant-numeric:tabular-nums;color:#8e687d;min-width:27px}
.podium .top-position{color:#f47490}
.top-leader .service-logo{flex-shrink:0;width:45px;height:45px;border-radius:13px}
.top-leader-copy{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1}
.top-leader-copy>strong{font-size:16px;line-height:1.3;overflow-wrap:anywhere}
.top-leader-copy>span{color:#ab91a1;font-size:12px;line-height:1.6}
.top-leader-copy>span>span{font-size:12px}
.top-score{display:flex;flex-direction:column;gap:5px;text-align:right;flex-shrink:0}
.top-score>strong{color:#edbf7b;font-size:17px}
.top-score>span{font-size:12px;color:#aa8d9d}
.top-leader>.favorite{right:16px;top:50%;transform:translateY(-50%)}
.top-list-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px}
.top-list-footer>span{font-size:12px;color:#aa8e9f}
.top-list-footer button{display:flex;align-items:center;gap:9px;background:#391c2a;border:1px solid #814056;border-radius:9px;font-size:12px;padding:12px 16px;min-height:44px;color:#f1c1d0}
.top-list-footer .icon{width:15px;transform:rotate(90deg)}
.top-list-footer [aria-expanded=true] .icon{transform:rotate(-90deg)}
.top-unrated{margin-top:17px;font-size:12px;line-height:1.8;color:#a58c9c}
.top-reasons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.top-reasons article{position:relative;display:flex;flex-direction:column;background:#1c151d;border:1px solid #452b3b;border-radius:14px;padding:24px}
.top-reason-number{font-size:26px;font-weight:750;color:#d65477;margin-bottom:16px}
.top-reasons h3{font-size:17px;line-height:1.4;margin-bottom:12px}
.top-reasons p{font-size:12px;line-height:1.8;color:#b59aa9;margin-bottom:20px;flex:1}
.top-reasons button{display:flex;align-items:center;gap:8px;padding:9px 0;background:none;color:#ec9db6;font-size:12px;text-align:left}
.top-reasons button>.icon{width:15px}

.top-catalog-link{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #623047;background:linear-gradient(110deg,#3f1929,#21151e);border-radius:14px;padding:23px;margin-top:38px}
.top-catalog-link>span{display:flex;align-items:center;gap:12px;font-size:14px}
.top-catalog-link>span+span{font-size:12px;color:#e0acbf}
.top-catalog-link .icon{width:19px;height:19px;color:#e97798}
.top-empty{font-size:13px;line-height:1.8;padding:22px;color:#bca5b5;border:1px dashed #694052;border-radius:12px;grid-column:1/-1}
@media(max-width:900px){.top-reasons{grid-template-columns:1fr}
.top-editor-grid .service-card .service-open>p{min-height:0}
.top-editor-grid .service-bottom{flex-direction:row;align-items:center}
.top-editor-grid .service-title h3{font-size:18px}
.top-reasons article{padding:21px}
.top-reason-number{position:absolute;right:20px;top:16px;font-size:20px}
.top-reasons h3{padding-right:35px}
.top-reasons p{margin-bottom:8px}}
@media(max-width:520px){.top-header h1{font-size:34px}
.top-jumps{gap:6px;display:grid;grid-template-columns:1fr 1fr;margin-bottom:28px}
.top-jumps button{font-size:12px;padding:10px 8px}
.top-section{margin-top:30px}
.top-section h2{font-size:23px}
.top-caption{font-size:12px}
.top-editor-grid{gap:12px}
.top-editor-grid .service-card .favorite{top:47px}
.top-editor-grid .service-logo{width:43px;height:43px;border-radius:13px}
.top-editor-grid .service-open{padding:18px}
.top-editor-grid .card-eyebrow{padding:15px 18px 0}
.top-method summary{padding:15px;font-size:12px}
.top-method>div{padding-inline:15px}
.top-leader-open{padding:16px 45px 16px 12px;gap:9px;flex-wrap:wrap}
.top-position{font-size:16px;min-width:21px}
.top-leader .service-logo{width:34px;height:34px;border-radius:10px}
.top-leader .service-logo .icon{width:20px;height:20px}
.top-leader .service-logo small{font-size:12px}
.top-leader-copy>strong{font-size:13px}
.top-leader-copy>span{font-size:12px}
.top-leader-copy{gap:6px}
.top-score{flex-direction:row;align-items:center;gap:8px;width:100%;padding-left:82px;text-align:left}
.top-score>strong{font-size:14px}
.top-score>span{font-size:12px}
.top-leader>.favorite{right:10px;top:35px}
.top-list-footer{gap:10px}
.top-list-footer button{font-size:12px;padding:10px}
.top-new-grid{grid-template-columns:1fr}
.top-catalog-link{flex-direction:column;align-items:flex-start;padding:20px;gap:13px}}

.promotions-header h1{font-size:44px}
.promotions-stats{display:flex;gap:4px 16px;margin-top:12px;flex-wrap:wrap}
.promotions-stats>span{display:flex;align-items:baseline;gap:4px;background:none;border:0;border-radius:11px;padding:0;color:var(--secondary);font-size:12px;flex:none;flex-direction:row}
.promotions-stats strong{font-size:14px;color:var(--text)}
.promotions-note{font-size:12px;line-height:1.5;color:var(--secondary);max-width:780px;margin:12px 0 16px}
.promotion-tabs{display:flex;flex-wrap:wrap;gap:8px}
.promotion-tabs button{display:flex;align-items:center;justify-content:center;gap:9px;background:var(--surface);border:1px solid var(--line);color:var(--secondary);border-radius:9px;padding:12px 15px;font-size:12px;min-height:44px}
.promotion-tabs button[aria-pressed=true]{background:#382126;color:#fff;border-color:#92515a}
.promotion-tabs button span{font-size:12px;padding:3px 6px;background:#160d1499;border-radius:5px}
.promotion-summary{color:var(--muted);font-size:12px;margin:12px 0 16px;line-height:1.7}
.promotion-group{margin-top:20px}
.promotion-group h2{font-size:25px}
.promotions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.promotion-card{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px}
.promotion-card.published{border-color:var(--line);background:var(--surface)}
.promotion-card.expired,.promotion-card.restricted,.promotion-card.ambiguous{background:var(--surface);border-color:var(--line)}
.promotion-service{display:flex;align-items:center;gap:12px}
.promotion-service>div{min-width:0;flex:1}
.promotion-service h3{font-size:18px;line-height:1.4;overflow-wrap:anywhere;margin-bottom:4px}
.promotion-service>div>span{font-size:12px;color:var(--secondary)}
.promotion-mark .icon{color:#b35b7c;width:22px;height:22px}
.promotion-value{display:flex;align-items:center;gap:16px;margin:16px 0 12px}
.promotion-value>strong{font-size:38px;font-weight:800;letter-spacing:-.04em;color:var(--text);white-space:nowrap}
.promotion-value>span{font-size:12px;color:var(--secondary);line-height:1.6;max-width:155px}
.promotion-status{display:inline-block;font-size:12px;padding:6px 9px;border:1px solid #735047;color:#e9bc95;background:#3c2b2388;border-radius:6px;line-height:1.5}
.promotion-status.published{color:#c6d5b2;background:#2d382588;border-color:#556749}
.promotion-status.expired,.promotion-status.restricted,.promotion-status.ambiguous{color:#bda6b4;background:#2d222b;border-color:#594353}
.promotion-explanation{font-size:12px;color:var(--secondary);line-height:1.8;margin:15px 0 10px}
.promotion-deadline{font-size:12px;color:var(--muted);line-height:1.6;margin-top:8px}
.promotion-code{border-top:1px solid var(--line);padding-top:16px;margin-top:18px}
.promotion-code>label{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}
.promotion-code>div{display:flex;gap:8px}
.promotion-code input{width:100%;min-width:0;border:1px dashed #815369;border-radius:8px;padding:12px 10px;background:var(--bg);color:var(--text);font-family:ui-monospace,monospace;font-size:14px;border-color:var(--muted)}
.promotion-code button{border:1px solid #d84d74;border-radius:8px;background:#b51f32;color:#fff;font-size:12px;padding:10px 14px;min-height:44px;border-color:#b51f32}
.promotion-code button:disabled{background:#30242c;border-color:#50404c;color:#a18b98;cursor:not-allowed}
.promotion-code>p{font-size:12px;line-height:1.7;color:var(--muted);margin-top:8px;min-height:17px}
.promotion-no-code{font-size:12px;line-height:1.7;color:var(--muted);border-top:1px solid var(--line);padding-top:16px;margin-top:18px}
.promotion-conditions{border-block:1px solid var(--line);margin-top:12px}
.promotion-conditions summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;padding:14px 0;gap:10px;color:var(--secondary);font-size:12px;min-height:44px}
.promotion-conditions summary::-webkit-details-marker{display:none}
.promotion-conditions summary .icon{width:15px;height:15px;transform:rotate(90deg)}
.promotion-conditions[open] summary .icon{transform:rotate(-90deg)}
.promotion-conditions>div{padding-bottom:14px}
.promotion-conditions p{font-size:13px;color:var(--secondary);line-height:1.8;margin-bottom:10px;overflow-wrap:anywhere}
.promotion-conditions a{display:inline-flex;align-items:center;gap:8px;font-size:12px;line-height:1.7;color:#f398b8;margin-bottom:10px}
.promotion-conditions a .icon{width:14px;height:14px;flex-shrink:0}
.promotion-detail{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--action);background:transparent;width:100%;padding:12px 0 0;text-align:left;min-height:44px}
.promotion-detail>.icon{width:17px;height:17px}
.promotion-empty{padding:35px 24px;border:1px dashed #704053;border-radius:15px;text-align:center}
.promotion-empty h2{font-size:22px;line-height:1.3;margin-bottom:14px}
.promotion-empty p{color:var(--secondary);font-size:13px;line-height:1.8}
.promotion-empty button{background:#572238;color:#fbc6d7;padding:13px;border:1px solid #a84c6d;border-radius:9px;margin-top:20px;font-size:12px}
@media(max-width:700px){.promotions-grid{grid-template-columns:1fr}
.promotion-group h2{font-size:23px}
.promotions-header h1{font-size:34px}
.promotions-stats{gap:4px 16px;margin-top:12px;flex-wrap:wrap}
.promotions-stats>span{flex:none;padding:0;align-items:baseline;flex-direction:row;gap:4px;font-size:12px;background:none;border:0}
.promotions-stats strong{font-size:14px;color:var(--text)}
.promotion-tabs{display:grid;grid-template-columns:1fr 1fr}
.promotion-tabs button{padding:11px 7px;font-size:12px;gap:6px}
.promotion-card{padding:20px;background:var(--surface);border-radius:16px}
.promotion-value>strong{font-size:35px;color:var(--text)}
.promotion-service h3{font-size:17px}
.promotion-summary{margin-bottom:24px;margin:12px 0 16px}
.promotion-code button{padding-inline:11px;background:#b51f32;border-color:#b51f32}
.promotion-mark{display:none}}
@media(max-width:360px){.promotion-card{padding:20px;background:var(--surface);border-radius:16px}
.promotion-code>div{flex-direction:column}
.promotion-code input{font-size:13px;background:var(--bg);color:var(--text);border-color:var(--muted)}
.promotion-value{gap:16px;margin:16px 0 12px}
.promotion-value>strong{font-size:32px;color:var(--text)}
.promotion-value>span{font-size:12px;color:var(--secondary)}
.promotion-group h2{font-size:21px}
.promotion-tabs button{font-size:12px}}

.profile-heading h1{overflow-wrap:anywhere}
.profile-heading{padding-bottom:4px}
.profile-settings,.profile-about{padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.profile-settings{display:grid;grid-template-columns:1fr 1fr;gap:20px 32px}
.profile-settings h2,.profile-about h2,.profile-explore h2{font-size:23px;margin-bottom:12px}
.profile-settings p,.profile-about p{font-size:13px;line-height:1.75;color:var(--secondary)}
.profile-secondary{background:var(--surface-raised);border:1px solid #66505f}
.profile-explore,.profile-about{margin-top:28px}
.profile-links{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.profile-links a{display:flex;align-items:center;gap:16px;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}
.profile-links a>.icon:first-child{color:#fc7b92}
.profile-links a>.icon:last-child{width:18px;margin-left:auto}
.profile-links span{min-width:0}
.profile-links strong{display:block;font-size:14px;line-height:1.5}
.profile-links small{display:block;color:var(--secondary);font-size:12px;line-height:1.6;margin-top:3px}
.profile-about dl{margin:20px 0}
.profile-about dl>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:12px 0;font-size:13px}
.profile-about dt{color:var(--secondary)}
.profile-about dd{margin:0;text-align:right}
.profile-about details{border-top:1px solid var(--line)}
.profile-about summary{cursor:pointer;padding:17px 0;font-size:14px;line-height:1.6}
.profile-about details p{padding:0 0 18px;max-width:740px}
.profile-about summary:focus-visible{outline:2px solid #ff9db8;outline-offset:3px}
.greeting>div{min-width:0}
.greeting h1{overflow-wrap:anywhere}
.greeting .round-emblem{flex-shrink:0;margin-left:14px}
@media(max-width:600px){.profile-settings{grid-template-columns:1fr;padding:20px;gap:18px}
.profile-links{grid-template-columns:1fr}
.profile-about{padding:20px}
.profile-heading h1{font-size:30px}
.profile-about dl>div{font-size:12px}
.profile-links a{padding:17px}
}

/* Device insets and Telegram content insets occupy separate areas. Native and
   CSS device insets overlap, so take their maximum instead of adding twice. */
:root {
  --app-safe-top: calc(max(env(safe-area-inset-top, 0px), var(--app-telegram-safe-top, 0px)) + var(--app-telegram-content-top, 0px));
  --app-safe-right: calc(max(env(safe-area-inset-right, 0px), var(--app-telegram-safe-right, 0px)) + var(--app-telegram-content-right, 0px));
  --app-safe-bottom: calc(max(env(safe-area-inset-bottom, 0px), var(--app-telegram-safe-bottom, 0px)) + var(--app-telegram-content-bottom, 0px));
  --app-safe-left: calc(max(env(safe-area-inset-left, 0px), var(--app-telegram-safe-left, 0px)) + var(--app-telegram-content-left, 0px));
  --app-viewport-height: 100dvh;
  --app-nav-gap: 20px;
  --app-viewport-gap: max(0px, calc(100dvh - var(--app-viewport-height)));
}
body { padding: var(--app-safe-top) var(--app-safe-right) 0 var(--app-safe-left); min-height: var(--app-viewport-height); }
.page-footer { padding-bottom: calc(140px + var(--app-safe-bottom)); }
.bottom-nav {
  bottom: calc(var(--app-nav-gap) + var(--app-safe-bottom) + var(--app-viewport-gap));
  left: calc(50% + (var(--app-safe-left) - var(--app-safe-right)) / 2);
  width: min(480px, calc(100% - 24px - var(--app-safe-left) - var(--app-safe-right)));
}
#toast {
  bottom: calc(118px + var(--app-safe-bottom) + var(--app-viewport-gap));
  left: calc(50% + (var(--app-safe-left) - var(--app-safe-right)) / 2);
  max-width: calc(100% - 32px - var(--app-safe-left) - var(--app-safe-right));
}
.skip-link { top: calc(10px + var(--app-safe-top)); left: calc(10px + var(--app-safe-left)); }
.detail-dialog {
  /* Explicit safe rectangle keeps native dialog centering out of system UI. */
  inset: var(--app-safe-top) var(--app-safe-right) calc(var(--app-safe-bottom) + var(--app-viewport-gap)) var(--app-safe-left);
  margin: auto;
  width: min(640px, calc(100% - 24px - var(--app-safe-left) - var(--app-safe-right)));
  height: min(850px, 92dvh, calc(var(--app-viewport-height) - var(--app-safe-top) - var(--app-safe-bottom) - 24px));
  max-height: min(92dvh, calc(100dvh - var(--app-safe-top) - var(--app-safe-bottom) - 24px));
}
.detail-footer { padding-bottom: 14px; }
@media(max-width:520px) {
  :root { --app-nav-gap: 10px; }
  .bottom-nav { width: calc(100% - 20px - var(--app-safe-left) - var(--app-safe-right)); }
  #toast { bottom: calc(100px + var(--app-safe-bottom) + var(--app-viewport-gap)); }
  .detail-dialog { width: calc(100% - 16px - var(--app-safe-left) - var(--app-safe-right)); }
}

/* Fit the available content rectangle, including short landscape WebViews. */
.greeting, .section-heading, .catalog-title-line, .favorites-heading { flex-wrap: wrap; }
.greeting>div { flex:1; }
.profile-settings>*, .trial-panel>div { min-width:0; }
.profile-view-settings { display:block; }
.profile-view-settings>p { max-width:720px; margin-top:10px; }
.profile-view-settings>.profile-secondary { margin-top:18px; padding:12px 16px; min-height:44px; border-radius:10px; font-size:12px; }
.detail-section p, .service-detail-heading p, .detail-source strong, .trial-panel strong, .destination-info p { overflow-wrap:anywhere; }
.detail-dialog[data-compact] .detail-bar { padding:6px 14px; }
.detail-dialog[data-compact] .detail-scroll { padding:18px; }
.detail-dialog[data-compact] .detail-footer { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:8px 12px; }
.detail-dialog[data-compact] .detail-footer .destination-open,
.detail-dialog[data-compact] .detail-footer .destination-unavailable { margin:0; }
.detail-dialog[data-compact] .detail-footer .detail-save-status { grid-column:1/-1; order:-1; margin:0; }
.detail-dialog[data-compact] .detail-footer .primary-button { padding:10px; }
/* At very short heights, keep one useful scroll area instead of a tiny slot
   between pinned controls. The close button stays reachable throughout. */
.detail-dialog[data-short] { overflow:auto; overscroll-behavior:contain; }
.detail-dialog[data-short] .detail-bar { position:sticky; top:0; z-index:2; }
.detail-dialog[data-short] .detail-scroll { flex:none; overflow:visible; }
.detail-dialog[data-short] .detail-footer { flex-shrink:0; }
html[data-keyboard-open] .bottom-nav { display:none; }
html[data-keyboard-open] .page-footer { padding-bottom:30px; }
@media(max-height:500px) {
  html[data-editing] .bottom-nav { display:none; }
  html[data-editing] .page-footer { padding-bottom:30px; }
  .bottom-nav { padding:4px; border-radius:16px; }
  .bottom-nav a { min-height:42px; padding:6px; gap:4px; flex-direction:row; }
  .bottom-nav a .icon { width:20px; height:20px; }
}
@media(max-width:520px) {
  .catalog-control select, .profile-settings input { font-size:16px; }
  .catalog-list-end { flex-wrap:wrap; }
  .profile-settings, .profile-about { padding:18px; }
}
.top-reasons article { min-width:0; }
.top-reasons h3, .top-reasons p { overflow-wrap:anywhere; }

/* Stage 17. Keep focus visible, text legible and small controls reachable. */
/* Shared colors are defined in styles.css. */
html { scroll-padding-block:16px 120px; }
:where(button,a,input,select,summary,[tabindex]):focus-visible {
  outline:3px solid #ffadba;
  outline-offset:3px;
  scroll-margin-block:20px 120px;
}
.service-open:focus-visible,.catalog-row-open:focus-visible,
.top-leader-open:focus-visible,.collections-track .collection-card:focus-visible {
  outline-offset:-4px;
}
.search-box:focus-within { border-color:#ffadba; box-shadow:0 0 0 2px #ffadba; }
.detail-scroll :focus-visible { scroll-margin-block:14px; }
.detail-announcement { color:#ffe0e7; font-size:12px; line-height:1.6; margin-bottom:8px; }
.detail-announcement:empty { display:none; }
.detail-dialog[data-compact] .detail-announcement { grid-column:1/-1; order:-1; margin:0; }
.text-button { color:var(--action); min-height:44px; }
.primary-button,.skip-link { background:#b51f32; color:#fff; }
.bottom-nav a { color:var(--secondary); }
.bottom-nav a.active { color:#ff8d9d; }
.favorite { color:var(--secondary); }
.favorite.saved { color:#ff8496; }
.service-card .favorite { width:44px; height:44px; right:7px; }
.service-card .service-top { padding-right:40px; }
.service-card .favorite .icon { width:20px; height:20px; }
.catalog-row .favorite { width:44px; height:44px; }
.round-emblem,.greeting .round-emblem { min-width:44px; min-height:44px; }
.dialog-close,.detail-bar .dialog-close,.search-clear { min-width:44px; min-height:44px; }
.back-link,.favorites-heading>a,summary { min-height:44px; display:flex; align-items:center; }
summary { display:list-item; padding-block:12px; cursor:pointer; }
.fact-origin { min-height:28px; }
.carousel-controls { gap:8px; }
.carousel-arrow { width:44px; height:44px; flex-shrink:0; }
.carousel-arrow[aria-disabled="true"] { opacity:.35; cursor:default; }
.carousel-dots { gap:2px; }
.carousel-dots button { width:24px; height:32px; }
.carousel-dots button span { background:#a18699; }
.carousel-dots button[aria-current="true"] span { background:#ff8da0; }
.slide-counter { position:static; color:var(--muted); }
.top-position { color:#c19daf; }
.page-footer,.rating>span,.catalog-count>span,.service-bottom strong>span,
.profile-stats span,.card-eyebrow,.catalog-row-meta,.catalog-list-end,
.local-badge b,.filter-tabs button,.page-title>p,.profile-heading p { color:var(--muted); }
.filter-tabs button span,.catalog-heading .filter-tabs button span { opacity:1; }
.search-box input::placeholder { color:var(--muted); }
.collections-track .eyebrow { color:#ffe1e8; }
.collections-track .eyebrow span { opacity:1; }
.collections-track .collection-description { color:#fff0f3; }
.collections-track .coal .collection-description { color:var(--secondary); }
.collections-track .fighter-caption { color:#fff; background:#171717e6; padding:4px 8px; border-radius:4px; }
.collections-track .fighter-caption span { color:#e9c2d1; }
@media(max-width:520px) {
  .carousel-dots { display:none; }
  .carousel-controls { gap:10px; }
  .carousel-dots button { height:32px; }
  .slide-counter { display:block; order:1; font-size:12px; min-width:64px; text-align:center; }
  .carousel-arrow.previous { order:0; }
  .carousel-arrow:not(.previous) { order:2; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
@media(forced-colors:active) {
  button,a,input,select,summary { forced-color-adjust:auto; }
  :focus-visible { outline:3px solid Highlight!important; }
  .favorite[aria-pressed="true"],.bottom-nav [aria-current="page"] { border:2px solid Highlight; }
  .carousel-dots button span { background:ButtonText; }
  .carousel-dots button[aria-current="true"] { border:2px solid Highlight; }
}

/* Reference fidelity. Geometry measured from the original public Mini App on
   2026-11-14. Brand colors and fighter artwork are the intentional differences.
   Keep this after accessibility/responsive styles so old redesign rules cannot
   silently change the reference's spacing. Focus and safe areas still apply. */
:root{--bg:#101013;--surface:#1c1c23;--surface-raised:#27272f;--line:#ffffff1a;--muted:#9494a5;--secondary:#9494a5;--action:#f04a58;--gold:#f5c451;font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:15px;line-height:1.35;letter-spacing:-.01em;-webkit-font-smoothing:antialiased}
body{overflow-x:clip}
main,.page-footer{width:100%;max-width:600px;margin-inline:auto}
main{--market-width:min(600px,calc(100vw - var(--app-safe-left) - var(--app-safe-right)));padding:12px 16px 0;min-height:0}
.catalog-home .greeting{padding-top:4px;margin:0 0 16px;flex-wrap:nowrap;min-height:50px;gap:12px}
.catalog-home .greeting p{font-size:13px;line-height:1.35;margin:0;color:var(--muted)}
.catalog-home .greeting h1{font-size:22px;line-height:1.35;font-weight:700;letter-spacing:-.02em;overflow-wrap:anywhere}
.greeting .round-emblem{position:relative;width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 auto;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:#717183;padding:0;display:grid;place-items:center}
.round-emblem>.icon{width:27px;height:27px}
.wheel-lock{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:20px;height:20px;border:2.5px solid var(--bg);border-radius:50%;background:#34343f;color:var(--muted)}
.wheel-lock .icon{width:10px;height:10px}
.section-heading{margin:0 0 10px;min-height:27px;padding:0 2px;gap:12px;flex-wrap:nowrap}
.section-heading h2{font-size:20px;line-height:1.35;font-weight:700;letter-spacing:-.02em}
.text-button{font-size:15px;font-weight:400;min-height:0;padding:0;line-height:1.35;color:var(--action)}
.collections-track{--slide-width:clamp(248px,calc(var(--market-width) * .75),300px);display:flex;gap:10px;margin:0 -16px -18px;padding:0 16px 20px;scroll-padding-left:16px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;border-radius:0}
.collections-track::after{flex:0 0 max(0px,calc(100% - var(--slide-width) - 42px))}
.collections-track .collection-card{flex:0 0 var(--slide-width);width:var(--slide-width);height:auto;aspect-ratio:44/31;min-height:196px;border-radius:26px;padding:18px;position:relative;border:0;background:linear-gradient(155deg,#f45b65 0%,#b51d30 50%,#3e101c 100%);box-shadow:inset 0 1px 0 #ffffff4d,inset 0 0 0 1px #ffffff14,0 18px 34px -20px #b51d30}
.collections-track .collection-card.coal{background:linear-gradient(155deg,#5d5d6a 0%,#32323d 50%,#17171e 100%)}
.collections-track .collection-card:before{display:none}
.collections-track .collection-card:after{background-image:radial-gradient(#ffffff99 .6px,transparent .8px);background-size:5px 5px;opacity:.14;mask-image:linear-gradient(115deg,transparent 35%,#000);z-index:0}
.collections-track .collection-content{position:relative;display:flex;align-items:flex-start;flex-direction:column;height:100%;width:100%;z-index:2;pointer-events:none}
.collections-track .eyebrow{font-size:11px;font-weight:700;line-height:1.35;letter-spacing:.09em;text-transform:uppercase;color:#fff;opacity:.8}
.collections-track .eyebrow span{letter-spacing:inherit;opacity:1}
.collections-track .collection-content>strong,.collections-track .collection-hero .collection-content>strong,.collections-track .collection-card:not(.collection-hero) .collection-content>strong{font-size:clamp(22px,calc(var(--market-width) * .066),26px);line-height:1.04;font-weight:800;letter-spacing:-.03em;max-width:100%;margin:6px 0 0;text-wrap:initial;overflow-wrap:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.collections-track .collection-description,.collections-track .collection-hero .collection-description,.collections-track .collection-card:not(.collection-hero) .collection-description,.collections-track .coal .collection-description{font-size:13.5px;line-height:1.3;max-width:56%;margin-top:7px;color:#fff;opacity:.9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.collections-track .collection-action{position:absolute;left:0;bottom:-2px;height:36px;padding:0 12px 0 16px;border-radius:99px;background:#fff5f7;color:#bc2434;display:inline-flex;align-items:center;gap:4px;font-size:14px;line-height:1.35;font-weight:700;margin:0}
.collections-track .collection-action .icon{width:14px;height:14px}
.collections-track .fighter-frame{position:absolute;z-index:1;right:6px;bottom:0;width:calc(var(--slide-width) * .313);height:calc(var(--slide-width) * .427);overflow:hidden;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 6%),linear-gradient(#000 80%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%),linear-gradient(#000 80%,transparent);-webkit-mask-composite:source-in}
.collections-track .fighter{position:absolute;z-index:1;top:0;bottom:auto;right:0;width:calc(var(--slide-width) * .783);max-width:none;height:auto;filter:none;mask-image:none;-webkit-mask-image:none}
/* Display-only silhouette traced against the original 977 × 1280 photo.
   Original pixels and face are unchanged; the poster background stays outside. */
.collections-track .fighter{clip-path:polygon(73.6% .4%,77.4% .7%,81.5% 2%,84.5% 4%,85.8% 6.8%,85.9% 10%,84.9% 13.7%,86.5% 14.5%,87% 16.5%,86% 19%,84.2% 21%,83% 22.6%,83.1% 25.8%,85% 28.2%,88.2% 29.6%,95.7% 31.7%,100% 33.5%,100% 100%,40% 100%,40% 50%,46% 38%,53% 35.4%,59.8% 35.2%,65.7% 33.5%,68.3% 31.3%,68.1% 28.7%,67.1% 27.8%,64% 25.8%,62.4% 22.8%,62.2% 19.8%,61.1% 18.8%,60.3% 16.1%,60.7% 14.9%,61.8% 13.9%,60.9% 10.2%,60.6% 7.3%,61.4% 5%,63.5% 3.4%,67.8% 1.4%)}

.collections-track .collection-art{z-index:1;right:12px;bottom:12px;width:34%;max-width:112px;aspect-ratio:1;opacity:.7;transform:rotate(-10deg);color:#f4a3ab}
.collections-track .collection-art .icon{width:100%;height:100%;stroke-width:1.3}
.carousel-controls{position:relative;margin:12px 0 0;height:6px;min-height:6px;display:flex;justify-content:center;gap:0}
.carousel-arrow,.slide-counter{display:none}
.carousel-dots{display:flex;align-items:center;justify-content:center;gap:5px;height:6px}
.carousel-dots button{position:relative;display:block;flex:0 0 6px;width:6px;height:6px;min-width:0;border:0;padding:0;background:none;border-radius:3px}
.carousel-dots button:before{content:'';position:absolute;inset:-8px -2px}
.carousel-dots button span{display:block;width:6px;height:6px;border-radius:3px;background:#ffffff2e;transform:none}
.carousel-dots button[aria-current=true]{width:16px;flex-basis:16px}
.carousel-dots button[aria-current=true] span{width:16px;background:#fff;transform:none}
.editor-section,.home-services{margin-top:18px}
.editor-grid,.services-rail{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;scroll-padding-left:16px;margin:-8px -16px 0;padding:10px 16px 14px}
.editor-grid .service-card,.services-rail .service-card{flex:0 0 clamp(210px,calc(var(--market-width) * .54),216px);min-width:0;border-radius:16px;border:2px solid #b88d46;background:var(--surface);box-shadow:0 0 9px #e2ad3b18;scroll-snap-align:start}
.services-rail .service-card{border-color:#6c3540;box-shadow:none}
.service-card.featured:first-child{border-color:#b88d46;background:var(--surface)}
.editor-grid .service-open,.services-rail .service-open{padding:14px;display:grid;grid-template-rows:minmax(40px,auto) 1fr auto;gap:8px;width:100%;height:100%;min-height:140px}
.editor-grid .service-top,.services-rail .service-top{gap:10px;padding-right:0;min-width:0}
.editor-grid .card-ribbon-wrap + .service-open .service-top{padding-right:18px}
.editor-grid .service-title,.services-rail .service-title{flex:1;min-width:0}
.editor-grid .service-title h3,.services-rail .service-title h3{max-width:none}
.service-logo{width:40px;height:40px;border-radius:50%;border:0;background:var(--surface-raised);color:#eee;font-size:14px;font-weight:700}
.editor-grid .service-title h3,.services-rail .service-title h3{font-size:16px;font-weight:600;line-height:1.35;letter-spacing:-.01em;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0;overflow-wrap:normal}
.editor-grid .rating,.services-rail .rating{display:flex;font-size:13px;line-height:1.35;color:var(--gold);gap:4px}
.editor-grid .rating b,.services-rail .rating b{font-size:13px}
.rating .rating-source{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.editor-grid .service-open>p,.services-rail .service-open>p{font-size:12.5px;line-height:1.3;color:var(--muted);margin:0;min-height:32px;height:32.5px;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.editor-grid .service-bottom,.services-rail .service-bottom{display:flex;align-items:baseline;flex-direction:row;gap:8px}
.editor-grid .service-bottom strong,.services-rail .service-bottom strong{font-size:17px;font-weight:600;letter-spacing:-.01em}
.service-bottom strong>span{font-size:12px;font-weight:400}
.trial{padding:3px 6px;font-size:10px;border:0;border-radius:5px;color:#63d585;background:#31d15824}
.editor-grid .favorite,.services-rail .favorite{display:none}
.card-ribbon-wrap{position:absolute;inset:0;border-radius:14px;overflow:hidden;pointer-events:none;z-index:2}
.card-ribbon{position:absolute;top:13px;right:-25px;width:78px;padding:3px 0;text-align:center;transform:rotate(45deg);font-size:9px;line-height:13px;letter-spacing:.05em;font-weight:700;background:linear-gradient(135deg,#f45b65,#bc2434);color:white;box-shadow:0 2px 8px #0005}
.bottom-nav{left:calc(50% + (var(--app-safe-left) - var(--app-safe-right))/2);right:auto;transform:translateX(-50%);width:calc(100% - 24px - var(--app-safe-left) - var(--app-safe-right));max-width:576px;bottom:calc(max(8px,var(--app-safe-bottom)) + 6px + var(--app-viewport-gap));display:grid;gap:2px;padding:5px;border-radius:26px;border:0;background:#1c1c23e6;backdrop-filter:blur(24px) saturate(180%);box-shadow:0 8px 30px #0008,inset 0 0 0 .5px #ffffff14}
.bottom-nav a{display:grid;justify-items:center;align-content:center;gap:2px;padding:4px 2px;border-radius:22px;min-height:48px;font-size:10px;font-weight:500;line-height:1.35;color:var(--muted)}
.bottom-nav a.active{color:var(--red);background:#ef303c29}
.bottom-nav a .icon{width:24px;height:24px}
.bottom-nav a[href='#catalog'] .icon>path:first-child,.bottom-nav a[href='#profile'] .icon,.bottom-nav a[href='#offers'] .icon>path{fill:currentColor;stroke-width:0}
.bottom-nav a[href='#catalog'] .icon>path+path{display:none}
.bottom-nav a[href='#offers'] .icon circle{fill:var(--surface);stroke:var(--surface)}
.bottom-nav a[href='#top'] .icon{stroke-width:3}
.bottom-nav .favorite-count-badge{display:none}
.page-footer{padding:18px 16px calc(100px + var(--app-safe-bottom));font-size:11px;display:block;border:0;color:var(--muted)}
.page-footer>span{display:none}
.page-title h1,.profile-heading h1{font-size:28px;letter-spacing:-.025em}
.red-dot{display:none}
@media(min-width:632px){main{padding-top:20px}.catalog-home{padding-top:12px}}
@media(prefers-reduced-motion:reduce){.bottom-nav{backdrop-filter:none}}
.editor-grid .service-logo,.services-rail .service-logo{width:40px;height:40px;border-radius:50%;overflow:hidden}
.service-logo .service-monogram{display:grid;place-items:center;width:100%;height:100%}
.service-logo img{width:100%;height:100%;object-fit:contain;display:block;border-radius:inherit}
.service-logo.logo-light{background:#fff}
.service-logo.logo-light img{padding:3px}
[hidden]{display:none!important}
.catalog-section{scroll-margin-top:20px}
.service-card:focus-within{border-color:var(--action)}
.collection-index-heading{margin:0 0 18px;padding:0}
.collection-index-heading h1{margin:0;font-size:28px;font-weight:700;line-height:1.2;letter-spacing:-.025em}
.collection-index-heading p{margin:8px 0 0;font-size:14px;line-height:1.35;color:var(--muted)}
.collection-index-filters{display:flex;gap:7px;overflow:auto;scrollbar-width:none;margin:0 -16px 18px;padding:0 16px}
.collection-index-filters button{flex:0 0 auto;height:34px;padding:0 14px;border-radius:99px;background:var(--surface);font-size:13.5px;font-weight:600;color:var(--muted)}
.collection-index-filters button[aria-pressed=true]{background:var(--red);color:white}
.collection-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.collection-directory .directory-card{position:relative;display:block;height:168px;min-height:168px;border:0;padding:14px 12px 14px 14px;border-radius:22px;overflow:hidden;isolation:isolate;background:linear-gradient(155deg,#e24756,#a82034 50%,#3e101c);color:white}
.collection-directory .directory-card.coal{background:linear-gradient(155deg,#595967,#32323d 50%,#17171e)}
.collection-directory .directory-card:before,.collection-directory .directory-card:after{display:none}
.collection-directory .directory-card .eyebrow{position:relative;z-index:1;font-size:11px;font-weight:700;letter-spacing:.09em;opacity:.8;color:white}
.collection-directory .directory-card h2{position:relative;z-index:1;margin:6px 0 0;font-size:18px;line-height:1.04;letter-spacing:-.03em;font-weight:800;max-width:100%;min-height:0;text-wrap:initial}
.collection-directory .directory-card p{position:relative;z-index:1;font-size:13.5px;line-height:1.3;color:white;opacity:.9;margin:7px 0 0;max-width:60%}
.collection-directory .directory-icon{position:absolute;right:12px;bottom:14px;width:74px;height:74px;top:auto;color:#efb1ba;opacity:.55;transform:rotate(-10deg)}
.collection-directory .directory-icon .icon{width:100%;height:100%}
.collection-directory .directory-feature,.collection-directory .directory-wide{grid-column:1/-1;height:150px;min-height:150px;padding:18px}
.collection-directory .directory-feature h2,.collection-directory .directory-wide h2{font-size:22px;max-width:calc(100% - 100px)}
.collection-directory .directory-feature .directory-icon,.collection-directory .directory-wide .directory-icon{right:20px;top:30px;width:88px;height:88px}
.directory-action{position:absolute;left:18px;bottom:16px;display:inline-flex;align-items:center;gap:4px;height:36px;padding:0 12px 0 16px;background:#fff5f7;color:#bc2434;border-radius:99px;font-size:14px;font-weight:700}
.directory-action .icon{width:14px;height:14px}
/* The filtered lead card can have a two-line title; its action must never
   cover the subtitle when a different collection becomes the lead. */
.collection-directory .directory-feature{height:auto;display:flex;flex-direction:column;align-items:flex-start}
.collection-directory .directory-feature .eyebrow{line-height:1.35}
.collection-directory .directory-feature .directory-action{position:static;margin-top:auto;flex-shrink:0}
.collection-directory .directory-feature p{margin-bottom:10px}

/* Catalog controls size to the content column, not the browser viewport. */
.section-heading.catalog-heading{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:24px 0 12px}
.catalog-heading .catalog-title-line{flex-wrap:nowrap;gap:12px;min-width:0}
.catalog-heading h2{min-width:0;flex-wrap:wrap;gap:8px}
.catalog-heading .filter-tabs{display:flex;flex-wrap:nowrap;width:100%;min-width:0;gap:4px;padding:0;border:0;border-radius:0;background:none;overflow-x:auto;scrollbar-width:none;scroll-padding-inline:2px}
.catalog-heading .filter-tabs::-webkit-scrollbar{display:none}
.catalog-heading .filter-tabs button{flex:1 0 auto;min-width:max-content;white-space:nowrap;gap:5px;padding:8px 10px;min-height:44px;border-radius:10px;font-size:12px;background:var(--surface);color:var(--muted)}
.catalog-heading .filter-tabs button.active{background:#382027;color:#fa8993}
.catalog-heading .filter-tabs button:focus-visible{outline-offset:-3px}
.catalog-heading .filter-tabs button span{flex-shrink:0}
.catalog-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;margin:0 0 12px}
.catalog-toolbar .catalog-control{min-width:0;position:relative}
.catalog-toolbar .catalog-control>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.catalog-toolbar .filter-toggle,.catalog-toolbar .catalog-control select{height:44px;min-height:44px;border:1px solid var(--line);border-radius:10px;background-color:var(--surface);color:var(--text);font-size:13px;line-height:1.3}
.catalog-toolbar .filter-toggle{padding:8px 12px;white-space:nowrap}
.catalog-toolbar .filter-toggle[aria-expanded=true]{border-color:var(--action);color:#fa8993;background-color:#382027}
.catalog-toolbar .catalog-control select{appearance:none;-webkit-appearance:none;padding:8px 30px 8px 12px;text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239494a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat}
.catalog-toolbar .filter-reset{grid-column:1/-1;justify-self:end;margin:0;padding:8px 0;border:0;background:none;color:var(--muted)}

/* Placeholder content keeps the existing compact catalogue geometry. */
.placeholder-note{color:var(--muted);font-size:14px;line-height:1.5;margin:8px 0 20px}
.placeholder-symbol{display:inline-flex;margin-bottom:16px;color:var(--muted)}
.placeholder-symbol .icon{width:32px;height:32px}

.managed-description{white-space:pre-line;overflow-wrap:anywhere}
.service-bottom{flex-wrap:wrap}
.service-bottom .category-label{max-width:100%;overflow-wrap:break-word}

/* Telegram photo replaces the fallback without changing profile geometry. */
.profile-avatar{position:relative;overflow:hidden}
.profile-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;opacity:0}
.profile-avatar.has-photo img{opacity:1}
.profile-avatar.has-photo>.icon{visibility:hidden}

/* Manual catalogue details follow the reference bottom sheet. Keep the native
   dialog, focus return and Telegram Back; only the content surface changes. */
.detail-dialog.service-sheet{
  inset:var(--app-safe-top) var(--app-safe-right) var(--app-viewport-gap) var(--app-safe-left);
  margin:auto auto 0;width:min(600px,calc(100% - var(--app-safe-left) - var(--app-safe-right)));
  max-width:600px;height:auto;max-height:calc((var(--app-viewport-height) - var(--app-safe-top)) * .92);
  border:0;border-radius:24px 24px 0 0;background:var(--surface);color:var(--text)
}
.detail-dialog.service-sheet.sheet-placeholder{height:340px}
.service-sheet .detail-bar,.service-sheet[data-compact] .detail-bar{
  position:relative;min-height:36px;padding:0 12px;border:0;background:var(--surface)
}
.service-sheet .sheet-handle{position:absolute;top:10px;left:calc(50% - 18px);width:36px;height:5px;border-radius:3px;background:var(--surface-raised)}
.service-sheet .dialog-close,.service-sheet .sheet-favorite{
  position:absolute;top:4px;width:44px;height:44px;min-height:44px;display:grid;place-items:center;
  padding:10px;border:0;border-radius:50%;background:none;color:var(--muted);z-index:1
}
.service-sheet .dialog-close{right:8px}
.service-sheet .sheet-favorite{left:8px}
.service-sheet .sheet-favorite .icon,.service-sheet .dialog-close .icon{width:20px;height:20px}
.service-sheet .sheet-favorite[aria-pressed=true]{color:var(--action)}
.service-sheet .sheet-favorite[aria-pressed=true] .icon{fill:currentColor}
.service-sheet .detail-scroll,.service-sheet[data-compact] .detail-scroll{padding:0 16px 16px}
.service-sheet .service-detail-heading{text-align:center}
.service-sheet .service-detail-heading>.service-logo{width:80px;height:80px;border-radius:50%;margin:0 auto 14px;overflow:hidden}
.service-sheet .service-detail-heading h2{font-size:24px;line-height:1.2;font-weight:700;margin:0 0 10px;letter-spacing:-.02em}
.service-sheet .service-detail-heading p{font-size:14px;line-height:1.4;color:var(--muted);margin:0}
.sheet-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:10px}
.sheet-badges>span{border-radius:6px;padding:3px 8px;font-size:11px;font-weight:600;line-height:1.3;background:var(--surface-raised);color:var(--muted)}
.sheet-badges .sheet-editorial{color:var(--gold);background:#f5c4511a}
.sheet-badges .sheet-trial.free{color:#63d585;background:#31d15824}
.sheet-metrics{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);margin:14px 0 0;padding:14px 0;background:var(--surface-raised);border-radius:16px}
.sheet-metrics>div{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:4px;min-width:0;padding:0 10px;text-align:center}
.sheet-metrics>div+div{border-left:1px solid var(--line)}
.sheet-metrics dt{font-size:11px;line-height:1.35;color:var(--muted);overflow-wrap:anywhere}
.sheet-metrics dd{margin:0;font-size:17px;line-height:1.3;font-weight:600;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.service-sheet .detail-section{margin-top:16px}
.service-sheet .detail-section h3{font-size:16px;margin-bottom:8px}
.service-sheet .detail-section p,.sheet-benefits{font-size:15px;line-height:1.5;color:var(--text)}
.service-sheet .service-detail-facts dt{color:var(--muted)}
.service-sheet .service-detail-facts dd{color:var(--text)}
.service-sheet .service-detail-facts>div{border-color:var(--line)}
.sheet-benefits{margin:0;padding-left:20px;overflow-wrap:anywhere}
.sheet-benefits li+li{margin-top:6px}
.service-sheet .detail-footer,.service-sheet[data-compact] .detail-footer{
  display:block;padding:0 16px max(16px,var(--app-safe-bottom));border:0;background:var(--surface)
}
.service-sheet .detail-footer .destination-open,.service-sheet .detail-footer .destination-unavailable{
  width:100%;min-height:52px;margin:0;display:flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 16px;border:0;border-radius:99px;font-size:16px;font-weight:600
}
.service-sheet .detail-footer .destination-open{background:#c52236;color:#fff}
.service-sheet .detail-footer .destination-unavailable{background:var(--surface-raised);color:var(--muted)}
.service-sheet .sheet-payment-note{margin:8px 0 0;text-align:center;color:var(--muted);font-size:12px;line-height:1.4}
.service-sheet .detail-announcement,.service-sheet .detail-save-status{font-size:12px;line-height:1.4;margin:8px 0 0;color:var(--muted)}
.service-sheet .detail-announcement:empty,.service-sheet .detail-save-status:empty{display:none}
.service-sheet[data-short] .detail-bar{position:sticky;top:0;z-index:2}

/* Manual Top: the reference hierarchy, backed by the owner's catalogue. */
.manual-top>.page-title{margin:0 0 20px}
.manual-top>.page-title h1{font-size:22px;line-height:1.3;letter-spacing:-.02em}
.manual-top-section{margin-top:24px}
.manual-top .section-heading{padding:0;margin-bottom:12px}
.manual-top .section-heading h2{font-size:20px;line-height:1.3}
.manual-editor{padding:18px 16px 16px;border:1px solid #59313b;border-radius:22px;background:linear-gradient(145deg,#382127,var(--surface) 72%)}
.manual-editor-label{margin:0 0 16px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--action)}
.manual-editor-heading{display:flex;align-items:center;gap:12px;width:100%;padding:0;background:none;text-align:left}
.manual-editor-heading>.service-logo{width:60px;height:60px;border-radius:18px;overflow:hidden}
.manual-editor-heading>span:last-child{min-width:0;flex:1;display:flex;flex-direction:column;gap:6px}
.manual-editor-heading strong{display:block;font-size:22px;line-height:1.2;overflow-wrap:anywhere}
.manual-editor-heading>span:last-child>span{font-size:14px;line-height:1.4;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.manual-editor-note{margin:16px 0 0;font-size:15px;line-height:1.45;white-space:pre-line;overflow-wrap:anywhere}
.manual-editor-facts{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 0;padding:0;list-style:none}
.manual-editor-facts li{max-width:100%;padding:5px 10px;border:1px solid var(--line);border-radius:99px;background:#ffffff08;color:var(--muted);font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.manual-editor-action{display:flex;align-items:center;gap:12px;margin-top:16px}
.manual-editor-action .destination-open,.manual-editor-action .destination-unavailable{flex:1;min-width:0;min-height:50px;padding:12px;border:0;border-radius:99px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:16px;font-weight:600;text-align:center}
.manual-editor-action .destination-open{background:#c52236;color:#fff}
.manual-editor-action .destination-unavailable{background:var(--surface-raised);color:var(--muted)}
.manual-editor-action .icon{width:16px;height:16px}
.manual-editor-price{flex:0 1 auto;max-width:42%;font-size:19px;line-height:1.3;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.manual-editor-price>span{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:4px}
.manual-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:8px;list-style:none;margin:26px 0 0;padding:0}
.manual-podium.count-1{grid-template-columns:minmax(0,1fr);max-width:180px;margin-inline:auto}
.manual-podium.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.manual-podium-card{min-width:0;position:relative;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.manual-podium-card.first{border-color:#786034;background:linear-gradient(155deg,#302b23,var(--surface) 65%)}
.manual-podium.count-3>.manual-podium-card:nth-child(1){grid-column:2;grid-row:1}
.manual-podium.count-3>.manual-podium-card:nth-child(2){grid-column:1;grid-row:1}
.manual-podium.count-3>.manual-podium-card:nth-child(3){grid-column:3;grid-row:1}
.manual-podium-open{width:100%;min-width:0;min-height:150px;padding:16px 8px 12px;background:none;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px}
.manual-podium.count-3>.manual-podium-card:first-child .manual-podium-open{min-height:170px}
.manual-place{position:absolute;top:-13px;left:calc(50% - 13px);width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:var(--surface-raised);color:var(--muted);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
.first .manual-place{background:var(--gold);color:#211b0d}
.manual-podium .service-logo{width:44px;height:44px;overflow:hidden;border-radius:14px}
.manual-podium-open>strong{font-size:14px;line-height:1.2;width:100%;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.manual-podium-description{font-size:11px;line-height:1.3;color:var(--muted);width:100%;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:auto}
.manual-soon{font-size:11px;line-height:1.3;color:var(--muted)}
.manual-podium.preview{margin-top:12px}
.manual-more-leaders{margin-top:12px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}
.manual-more-leaders summary{padding:12px 14px;font-size:13px;color:var(--muted)}
.manual-more-leaders ol{list-style:none;margin:0;padding:0}
.manual-list-open{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:12px 14px;background:none;text-align:left}
.manual-list-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.manual-list-copy>strong{font-size:16px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.manual-list-copy>span{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.manual-list-open>.service-logo{width:40px;height:40px;border-radius:50%;overflow:hidden}
.manual-list-open>.icon{flex:0 0 16px;color:var(--muted);width:16px;height:16px}
.manual-list-place{min-width:18px;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.manual-more-leaders li,.manual-reasons>.manual-list-open+.manual-list-open{border-top:1px solid var(--line)}
.manual-reasons{border-radius:18px;background:var(--surface);overflow:hidden}
.manual-reason-badge{flex:0 1 auto;max-width:40%;padding:6px 9px;border-radius:99px;background:#ef303c18;color:#e6a0a8;font-size:12px;line-height:1.3;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.manual-new-rail{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:16px;scrollbar-width:none;margin:0 -16px;padding:0 16px 8px}
.manual-new-card{flex:0 0 148px;min-width:0;min-height:160px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--surface);text-align:left}
.manual-new-card>.service-logo{width:44px;height:44px;border-radius:14px;overflow:hidden}
.manual-new-card>strong{font-size:15px;font-weight:600;line-height:1.3;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.manual-new-description{font-size:12px;line-height:1.35;color:var(--muted);overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.manual-new-price{margin-top:auto;font-size:13px;font-weight:600;color:var(--action);overflow-wrap:anywhere}
.manual-new-price>span{font-size:12px;font-weight:400}
.manual-top-empty{padding:24px 0;color:var(--muted)}
.manual-top-empty p{margin-bottom:12px}
.manual-top button:focus-visible,.manual-top a:focus-visible{outline-offset:-3px}
@media(max-width:360px){.manual-editor-heading strong{font-size:20px}.manual-editor-heading>.service-logo{width:52px;height:52px}.manual-editor-action{gap:8px}.manual-editor-action .destination-open{font-size:14px}.manual-editor-price{font-size:17px}.manual-list-open{padding-inline:10px;gap:8px}.manual-reason-badge{font-size:11px;padding:5px 7px}}

/* Offers retain the reference's two-column mobile hierarchy. Conditions and
   expired offers remain readable; no promises are inferred from a badge. */
.manual-offers-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 20px}
.manual-offers-header>div{min-width:0}
.manual-offers-header p{margin:0 0 3px;font-size:13px;line-height:1.35;color:var(--muted)}
.manual-offers-header h1{font-size:22px;line-height:1.3;letter-spacing:-.02em;margin:0}
.manual-offers-count{flex-shrink:0;padding:10px 14px;border-radius:99px;background:var(--surface);font-size:12px;line-height:1.3;color:var(--muted)}
.manual-offers-count strong{font-size:16px;color:var(--text);font-variant-numeric:tabular-nums}
.manual-offers-notice{display:flex;align-items:center;gap:12px;padding:16px 14px;border-radius:18px;background:var(--surface);margin-bottom:22px}
.manual-offers-notice>span{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:14px;background:#ef303c18;color:var(--action)}
.manual-offers-notice .icon{width:24px;height:24px}
.manual-offers-notice strong{font-size:16px;line-height:1.3;font-weight:600}
.manual-offers-notice p{font-size:13px;line-height:1.4;color:var(--muted);margin:5px 0 0}
.manual-offer-group>h2{font-size:20px;line-height:1.3;margin:0 0 12px;letter-spacing:-.02em}
.manual-offers .promotions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.manual-offers .manual-offer{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:14px;border:0;border-radius:18px;background:var(--surface)}
.manual-offer>.service-logo{width:32px;height:32px;border-radius:50%;overflow:hidden;margin-bottom:16px}
.manual-offer-value{color:var(--action);margin-bottom:10px;max-width:100%}
.manual-offer-value strong,.manual-offer-value>span{display:block;font-size:24px;line-height:1.2;font-weight:700;letter-spacing:-.02em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.manual-offer.free .manual-offer-value{color:#48d370}
.manual-offer h3{font-size:15px;line-height:1.3;font-weight:600;margin:0 0 6px;overflow-wrap:anywhere;max-width:100%}
.manual-offer-title{font-size:12px;line-height:1.4;margin:0 0 6px;color:var(--text);overflow-wrap:anywhere;max-width:100%}
.manual-offer-description,.manual-offer-conditions p{font-size:12px;line-height:1.4;margin:0;color:var(--muted);overflow-wrap:anywhere;max-width:100%}
.manual-offer-conditions{width:100%;margin-top:8px;border-block:1px solid var(--line)}
.manual-offer-conditions summary{min-height:44px;padding:12px 0;font-size:12px;color:var(--muted)}
.manual-offer-conditions p{padding-bottom:12px}
.manual-offer .promotion-deadline{font-size:11px;line-height:1.4;margin:10px 0 0;max-width:100%;overflow-wrap:anywhere}
.manual-offer .promotion-code{width:100%;border:0;padding:0;margin:12px 0 0}
.manual-offer .promotion-code>label{font-size:11px;margin-bottom:5px}
.manual-offer .promotion-code>div{display:flex;flex-direction:column;gap:6px}
.manual-offer .promotion-code input{min-height:40px;padding:8px;border:1px dashed var(--line);background:var(--bg);border-radius:8px;font-size:13px}
.manual-offer .promotion-code button{width:100%;min-height:44px;padding:8px;font-size:12px;border:0;border-radius:8px;background:#382027;color:#fa8993}
.manual-offer .promotion-code button:disabled{background:var(--surface-raised);color:var(--muted)}
.manual-offer .promotion-code>p{min-height:0;margin:6px 0 0;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.manual-offer .promotion-code>p:empty{display:none}
.manual-offer-no-code{display:inline-block;max-width:100%;margin-top:12px;padding:5px 8px;border-radius:7px;background:#ef303c18;color:#e6a0a8;font-size:11px;line-height:1.3}
.manual-offer.free .manual-offer-no-code{background:#31d15824;color:#63d585}
.manual-offer-actions{width:100%;margin-top:auto;padding-top:12px}
.manual-offer-actions .primary-button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:44px;padding:10px 8px;border-radius:10px;background:#c52236;color:white;font-size:13px;line-height:1.3}
.manual-offer-actions .primary-button .icon{width:14px;height:14px;flex-shrink:0}
.manual-offer-actions .promotion-detail{font-size:11px;line-height:1.3;padding:8px 0 0;min-height:36px;color:var(--muted)}
.manual-offer-actions .promotion-detail .icon{width:14px;height:14px}
.manual-offer.unavailable .manual-offer-value{color:var(--muted)}
.manual-offer-status{margin-top:8px;font-size:12px;color:var(--muted)}
.manual-offers-archive{margin-top:24px}
.manual-offers-archive>summary{font-size:15px;color:var(--muted);min-height:44px;padding:12px 0}
.manual-offers-archive>.promotions-grid{margin-top:8px}
.manual-offers-empty{padding:24px 16px;background:var(--surface);border-radius:18px;color:var(--muted)}
.manual-offers-empty p{margin:0 0 12px;font-size:14px}
.manual-offers .offer-placeholder{min-height:208px}
.offer-placeholder .manual-offer-value{color:var(--muted)}
.manual-offers button:focus-visible,.manual-offers a:focus-visible{outline-offset:-3px}
@media(max-width:360px){.manual-offers .manual-offer{padding:12px}.manual-offer-value strong,.manual-offer-value>span{font-size:22px}.manual-offers-count{padding:8px 10px}.manual-offers-notice{gap:10px}.manual-offers-notice strong{font-size:15px}}

/* Profile: Telegram identity and compact grouped rows, reference photos 6–7. */
.reference-profile .profile-heading{padding:24px 0 28px}
.reference-profile .profile-avatar{width:76px;height:76px;border-radius:50%;margin:0 auto 12px}
.reference-profile .profile-heading h1{font-size:20px;line-height:1.3;letter-spacing:0;margin:0;font-weight:700}
.reference-profile .profile-username{font-size:14px;line-height:1.4;margin:4px 0 0;overflow-wrap:anywhere;color:var(--secondary)}
.reference-profile .profile-saved,.reference-profile .profile-preferences,.reference-profile .profile-links{background:var(--surface);border-radius:16px;overflow:hidden}
.reference-profile summary{display:flex;align-items:center;gap:12px;min-height:60px;padding:16px;cursor:pointer;list-style:none;font-size:16px;line-height:1.4}
.reference-profile summary::-webkit-details-marker{display:none}
.reference-profile summary>.icon,.reference-profile .profile-links a>.icon{width:20px;height:20px;flex-shrink:0;color:var(--secondary)}
.reference-profile summary>.icon:last-child{width:16px;height:16px;margin-left:auto}
.reference-profile details[open]>summary>.icon:last-child{transform:rotate(90deg)}
.reference-profile .profile-saved-count{color:var(--secondary);margin-left:auto;font-size:14px;font-variant-numeric:tabular-nums}
.reference-profile summary>.profile-saved-count+.icon:last-child{margin-left:0}
.reference-profile summary:focus-visible,.reference-profile .profile-links a:focus-visible{outline:2px solid var(--action);outline-offset:-3px}
.reference-profile summary:hover,.reference-profile .profile-links a:hover{background:var(--surface-raised)}
.reference-profile .favorites-section{margin:0;padding:0 16px 16px}
.reference-profile .favorites-heading{padding-top:16px;border-top:1px solid var(--line);align-items:flex-start}
.reference-profile .favorites-heading h2{font-size:15px;line-height:1.4;flex-wrap:wrap;gap:6px}
.reference-profile .favorites-empty{padding:24px 12px;background:none;border:0;border-radius:0}
.reference-profile .favorites-empty>.icon{display:none}
.reference-profile .favorites-empty h3{font-size:18px;margin-bottom:8px}
.reference-profile .favorites-empty p{line-height:1.5;margin-bottom:16px}
.reference-profile .profile-explore{margin-top:24px}
.reference-profile .profile-explore h2{font-size:20px;line-height:1.3;margin-bottom:12px}
.reference-profile .profile-links{display:block}
.reference-profile .profile-links a{padding:16px;gap:12px;min-height:72px;border:0;border-radius:0;background:none}
.reference-profile .profile-links a+a{border-top:1px solid var(--line)}
.reference-profile .profile-links strong{font-size:16px;font-weight:500;line-height:1.4}
.reference-profile .profile-links small{font-size:13px;line-height:1.4;margin-top:2px}
.reference-profile .profile-links a>.icon:last-child{width:16px;height:16px}
.reference-profile .profile-preferences{margin-top:24px}
.reference-profile .profile-preferences-body{padding:0 16px 20px;border-top:1px solid var(--line)}
.reference-profile .profile-preferences-body h2{font-size:16px;line-height:1.4;margin:20px 0 8px}
.reference-profile .profile-preferences-body p{font-size:13px;line-height:1.5;color:var(--secondary);margin:8px 0 0}
.reference-profile .profile-secondary{min-height:44px;padding:10px 16px;font-size:14px;border-radius:10px;margin-top:16px}
.reference-profile #view-reset-feedback:empty{display:none}

/* Real profile activity: same two-column rhythm as reference photo 6. */
.reference-profile #profile-metrics{margin:0 0 24px}
.reference-profile .profile-metrics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.reference-profile .profile-metrics-grid>div{display:flex;flex-direction:column;gap:6px;padding:16px 14px;background:var(--surface);border-radius:14px;min-width:0}
.reference-profile .profile-metrics-grid dt{font-size:13px;line-height:1.4;color:var(--secondary);letter-spacing:0}
.reference-profile .profile-metrics-grid dd{order:-1;font-size:24px;font-weight:700;line-height:1.2;letter-spacing:0;font-variant-numeric:tabular-nums;margin:0;overflow-wrap:anywhere}
.reference-profile .profile-metrics-note{font-size:12px;line-height:1.4;color:var(--secondary);margin:8px 0 0}

/* Personal invitation rows, reference photos 6–7. */
.reference-profile #profile-invitations{margin-top:24px}
.reference-profile #profile-invitations h2{font-size:20px;line-height:1.3;margin-bottom:12px}
.reference-profile .profile-invite-links{background:var(--surface);border-radius:16px;overflow:hidden}
.reference-profile .profile-invite-copy,.reference-profile .profile-invite-links>a{display:flex;align-items:center;gap:12px;min-height:72px;padding:16px}
.reference-profile .profile-invite-links>a{border-top:1px solid var(--line)}
.reference-profile .profile-invite-links .icon{width:20px;height:20px;flex-shrink:0;color:var(--secondary)}
.reference-profile .profile-invite-links>a>.icon:last-child{width:16px;height:16px;margin-left:auto}
.reference-profile .profile-invite-copy>div,.reference-profile .profile-invite-links>a>span{min-width:0;flex:1}
.reference-profile .profile-invite-copy label,.reference-profile .profile-invite-links strong{display:block;font-size:16px;font-weight:500;line-height:1.4}
.reference-profile .profile-invite-copy input{display:block;width:100%;min-width:0;padding:2px 0 0;border:0;background:transparent;color:var(--secondary);font:inherit;font-size:13px;line-height:1.4;text-overflow:ellipsis;border-radius:0}
.reference-profile .profile-invite-copy button{background:transparent;padding:8px 0;min-height:44px;border:0;font-size:13px;color:#f68d98;flex-shrink:0}
.reference-profile .profile-invite-links small{display:block;font-size:13px;line-height:1.4;margin-top:2px;color:var(--secondary)}
.reference-profile .profile-invite-note{font-size:13px;line-height:1.5;color:var(--secondary);margin:8px 0 0}
.reference-profile .profile-invite-note:empty{display:none}
.reference-profile .profile-invite-links a:hover{background:var(--surface-raised)}
.reference-profile .profile-invite-links :is(input,button,a):focus-visible{outline:2px solid var(--action);outline-offset:-2px}

@font-face {
  font-family: Golos;
  src: url('../assets/rabochka/golos-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: Golos;
  src: url('../assets/rabochka/golos-cyr.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

:root {
  --bg: #080e1a;
  --surface: #111c30;
  --surface-raised: #1c2b45;
  --line: #9ebef32c;
  --text: #f4f7ff;
  --muted: #a4b1c8;
  --secondary: #bac9df;
  --action: #85baff;
  --cobalt: #2455d9;
  --ice: #e2f0ff;
  --focus-ring: #70dcff;
  --press-time: 150ms;
  --settle-time: 270ms;
  --ease-settle: cubic-bezier(.2,.78,.18,1);
  --panel-radius: 18px;
  --signal: #70dcff;
  --selected: #193458;
  --red: var(--action);
  --red-dark: var(--cobalt);
  font-family: Golos, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
select { font-family: inherit }
.market-launch { padding-top: 22px }
.market-launch p { margin: 22px 0; color: var(--secondary); font-size: 15px }
.market-mast, .market-person, .market-wordmark { display: flex; align-items: center }
.market-mast { justify-content: space-between; gap: 14px; min-height: 48px; margin-bottom: 12px }
.market-wordmark { gap: 7px; font-size: 23px; font-weight: 800; letter-spacing: -.038em; line-height: 1 }
.market-wordmark img { width: 28px; height: 28px }
.market-person { min-width: 0; gap: 8px }
.market-person > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--secondary) }
.market-person button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: var(--secondary); background: transparent }
.market-person .icon { width: 23px; height: 23px }
.market-person .wheel-status { position: absolute; right: 6px; bottom: 6px; display: grid; place-items: center; width: 15px; height: 15px; border: 2px solid var(--bg); border-radius: 50%; color: var(--secondary); background: var(--surface-raised) }
.market-person .wheel-status .icon { width: 8px; height: 8px }

.campaign { width: 100%; min-width: 0; position: relative; isolation: isolate; display: grid; align-items: center; container-type: inline-size; overflow: hidden; border: 1px solid var(--line); background: #020b20; border-radius: 17px; color: white }
.campaign-home {
  aspect-ratio: 1.60; min-height: 192px; margin-bottom: 18px;
  background: #030b1c url('../assets/rabochka/fold.webp') center / cover no-repeat;
  border-radius: var(--panel-radius); border-color: #88b4ff48;
}
.host-window { position: absolute; right: -5%; bottom: 0; height: 96%; aspect-ratio: 1; overflow: hidden; z-index: -1 }
.host-frames { display: block; width: 200%; height: 100%; max-width: none; pointer-events: none }
.campaign-home .campaign-copy { padding: clamp(16px,5cqw,28px); max-width: 66% }
.campaign-home .campaign-action { background: var(--ice); color: #091831; border-color: #fff8; border-radius: 99px }
.campaign-action .icon { width: 16px; height: 16px; stroke-width: 2.3 }
.campaign-art { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 8%; pointer-events: none }
.campaign-copy { position: relative; padding: 20px; width: max-content; max-width: 64% }
.campaign h1, .campaign h2 { font-size: clamp(34px, 9.8cqw, 59px); line-height: .96; font-weight: 760; letter-spacing: -.047em; margin: 0 0 20px; text-shadow: 0 1px 10px #02081788 }
.campaign-action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 0 16px; border: 1px solid #80b6ff85; border-radius: 9px; background: #2050c9; color: #fff; font-size: 14px; line-height: 1.2; font-weight: 650 }
.campaign-action span { font-size: 18px; line-height: 1 }
.section-heading h2, .manual-top .section-heading h2, .reference-profile .profile-explore h2 { font-size: 22px; font-weight: 730; letter-spacing: -.045em; line-height: 1.15 }
.section-heading .text-button { min-height: 44px; font-size: 14px; font-weight: 560 }
.catalog-home .section-heading { margin-bottom: 7px }
.collections-track { --slide-width: clamp(246px, calc(var(--market-width) * .82), 385px); gap: 10px }
.collections-track .collection-card, .collections-track .collection-card.coal,
.collection-directory .directory-card, .collection-directory .directory-card.coal, .collection-cover, .collection-cover.coal {
  background: radial-gradient(ellipse at 80% 110%,#1a375d,transparent 60%), linear-gradient(115deg,#1c304b,#0b1528 70%);
  color: var(--text); border: 1px solid var(--line); border-radius: 15px; box-shadow: none; isolation: isolate; overflow: hidden;
}
.collections-track .collection-card { height: auto; min-height: 156px; aspect-ratio: 1.93; padding: 17px 16px; }
.collections-track .collection-hero, .collection-directory .directory-feature {
  background: linear-gradient(108deg,#173e8c 0%,#112d65 46%,#09142a 77%);
  border-color: #567fbe70;
}
.collections-track .collection-card::before, .collection-directory .directory-card::before, .collection-cover::before {
  content: ""; display: block; pointer-events: none; position: absolute; z-index: 0; inset: auto 0 0;
  height: 25%; border: 0; transform: none; opacity: .47;
  background: url('../assets/rabochka/fold.webp') center 80% / cover no-repeat;
  mask-image: linear-gradient(0deg,black,transparent);
}
.collections-track .collection-content { justify-content: center }
.collections-track .collection-action { align-self: start }
.collection-quantity { position: absolute; inset: 12px 14px auto auto; color: var(--secondary); font-size: 11px; z-index: 1 }
.collection-card .collection-action .icon, .collection-directory .directory-action .icon { width: 14px; height: 14px }
.home-collections .carousel-controls { position: relative; display: grid; grid-template-columns: auto minmax(36px,1fr) 44px 44px; gap: 2px; align-items: center; height: 44px; min-height: 44px; margin: 2px 0 0 }
.home-collections .slide-counter { display: block; position: static; order: 0; width: auto; min-width: 0; margin-right: 12px; color: var(--secondary); font-size: 12px; line-height: 1; font-variant-numeric: tabular-nums }
.collection-scrubber { width: 100%; min-width: 0; height: 44px; margin: 0; padding: 0; background: transparent; appearance: none; cursor: pointer; accent-color: var(--signal) }
.collection-scrubber::-webkit-slider-runnable-track { height: 2px; background: var(--line); border-radius: 1px }
.collection-scrubber::-moz-range-track { height: 2px; background: var(--line); border-radius: 1px }
.collection-scrubber::-webkit-slider-thumb { appearance: none; width: 19px; height: 6px; margin-top: -2px; border-radius: 2px; background: var(--action) }
.collection-scrubber::-moz-range-thumb { width: 19px; height: 6px; border: 0; border-radius: 2px; background: var(--action) }
.home-collections .carousel-arrow { display: grid; place-items: center; position: static; inset: auto; transform: none; order: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--ice) }
.home-collections .carousel-arrow .icon { width: 19px; height: 19px; transform: none }
.home-collections .carousel-arrow.previous .icon { transform: rotate(180deg) }
.collections-track .collection-card::after, .collection-cover::after { display: none }
.topic-art { position: absolute; z-index: 0; display: grid; place-items: center; pointer-events: none; mix-blend-mode: lighten }
.topic-art img { display: block; width: 100%; height: 100%; object-fit: contain }
.collections-track .topic-art { right: 3%; bottom: 8%; width: 44%; aspect-ratio: 1 }
.collections-track .collection-content { width: 62% }
.collections-track .collection-content .eyebrow, .collection-directory .directory-card .eyebrow, .collection-cover .eyebrow { color: #b8caf0; opacity: 1; text-transform: none; letter-spacing: .01em; font-size: 11px; font-weight: 540 }
.collections-track .collection-content > strong, .collections-track .collection-hero .collection-content > strong, .collections-track .collection-card:not(.collection-hero) .collection-content > strong { font-size: clamp(23px,6.7vw,32px); letter-spacing: -.045em; line-height: 1.02; margin-top: 0; overflow-wrap: anywhere }
.collections-track .collection-card .collection-description, .collections-track .collection-card:not(.collection-hero) .collection-description { max-width: 100%; font-size: 12px; color: var(--secondary); margin-top: 5px; opacity: 1 }
.collections-track .collection-action, .collection-directory .directory-action { position: static; margin-top: auto; display: inline-flex; align-items: center; padding: 0; gap: 4px; color: #98c8ff; background: none; font-weight: 620; font-size: 13px; height: 27px }
.collection-directory .directory-card { padding: 14px }
.collection-directory .directory-feature, .collection-directory .directory-wide { min-height: 155px; height: auto }
.collection-directory .directory-feature h2, .collection-directory .directory-wide h2, .collection-directory .directory-feature p, .collection-directory .directory-wide p { max-width: 65% }
.collection-directory .directory-card p { color: var(--secondary) }
.collection-directory .directory-card .topic-art { width: 68px; height: 68px; right: 11px; bottom: 7px }
.collection-directory :is(.directory-feature,.directory-wide) .topic-art { width: 31%; height: 88%; right: 2%; bottom: 4% }
.collection-directory .directory-feature .directory-action { position: relative; display: inline-flex; inset: auto; margin: 10px 0 0; padding: 0; font-size: 14px; height: auto; color: var(--action); background: none }
.collection-cover { position: relative; padding: 24px 16px; min-height: 152px; display: flex; align-items: center }
.collection-cover > div { position: relative; z-index: 1; width: 64% }
.collection-cover .topic-art { right: 2%; bottom: 4%; width: 33%; height: 88% }
.collection-cover h1 { font-size: clamp(25px,6.5vw,40px); overflow-wrap: anywhere; margin: 8px 0 }
.collection-cover p { color: var(--secondary); max-width: none; font-size: 14px }
.collections-track .collection-card:focus-visible { outline-offset: -3px }

.manual-offers-header h1, .manual-top > .page-title h1, .collection-index-heading h1 { font-size: clamp(30px,7vw,42px); font-weight: 790; line-height: 1.05; letter-spacing: -.05em }
.manual-offers-count[hidden] { display: none }
.campaign-offers { aspect-ratio: 1.46; min-height: 214px }
.campaign-offers h2 { font-size: clamp(31px, 9cqw, 53px) }
.rank-empty { display: grid; justify-items: center; padding: 24px; gap: 16px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px }
.rank-empty img { width: 112px; height: 112px; mix-blend-mode: lighten }
.rank-empty h2 { font-size: 24px; letter-spacing: -.045em }
.service-card.featured, .service-card.featured:first-child, .manual-editor, .manual-podium-card.first { background: var(--surface); border: 1px solid #5475a8; box-shadow: none }
.card-ribbon, .manual-editor-action .destination-open, .service-sheet .detail-footer .destination-open, .manual-offer-actions .primary-button { background: var(--cobalt) }
.catalog-heading .filter-tabs button.active, .catalog-toolbar .filter-toggle[aria-expanded=true], .manual-offer .promotion-code button, .collection-index-filters button[aria-pressed=true] { background: var(--selected); color: #c1dcff }
.profile-avatar, .favorites-empty > .icon, .profile-invite-icon { background: var(--selected); color: var(--action); border-color: var(--line) }
.manual-offer-no-code, .manual-reason-badge { background: var(--selected); color: var(--secondary) }
.bottom-nav { border-radius: 18px; background: #101b2cef; box-shadow: 0 8px 26px #02060ea8, inset 0 0 0 1px var(--line); backdrop-filter: blur(16px) }
.bottom-nav { --nav-gap: 2px; --nav-pad: 5px; gap: var(--nav-gap); padding: var(--nav-pad); isolation: isolate }
.bottom-nav::before {
  content: ""; position: absolute; z-index: -1; left: var(--nav-pad); top: var(--nav-pad); bottom: var(--nav-pad);
  width: calc((100% - 2 * var(--nav-pad) - 3 * var(--nav-gap)) / 4);
  border: 1px solid #83b9ff33; box-sizing: border-box; border-radius: 13px; background: var(--selected);
  transform: translateX(calc(var(--tab,0) * (100% + var(--nav-gap)))); pointer-events: none;
}
.bottom-nav a { border-radius: 13px }
.bottom-nav a.active { color: var(--ice); background: transparent; box-shadow: none }
.favorite.saved, .sheet-favorite[aria-pressed=true] { color: var(--signal); background: var(--selected) }
:focus-visible { outline-color: var(--focus-ring) }

@media (prefers-reduced-motion: no-preference) {
  @keyframes campaign-enter { from { transform: scale(1.035) } to { transform: scale(1) } }
  @keyframes sheet-enter { from { opacity: 0; translate: 0 14px } to { opacity: 1; translate: 0 0 } }
  .campaign-art { animation: campaign-enter 620ms cubic-bezier(.2,.68,.24,1) both }
  .service-sheet[open] { animation: sheet-enter 190ms ease-out }
  @keyframes copy-mark { from { opacity: 0; transform: translateY(2px) rotate(-45deg) scale(.65) } }
  .copy-confirmed::before { animation: copy-mark 165ms ease-out }
  .bottom-nav::before { transition: transform var(--settle-time) var(--ease-settle) }
  .bottom-nav a, .campaign-action { transition: background-color var(--press-time), color var(--press-time), transform var(--press-time) }
  .host-window { animation: host-enter 440ms var(--ease-settle) }
  @keyframes host-enter { from { transform: translate(5%,2%) } to { transform: translate(0,0) } }
  .collections-track .topic-art { transition: transform var(--settle-time) var(--ease-settle) }
  .collections-track .collection-card:not(.is-current) .topic-art { transform: translateX(4%) scale(.94) }
  .campaign-action .icon, .collection-action .icon { transition: transform var(--press-time) var(--ease-settle) }
  .campaign-action:is(:focus-visible,:active) .icon { transform: translateY(2px) }
  .collection-card:is(:focus-visible,:active) .collection-action .icon { transform: translate(2px,-2px) }
  .campaign-action:active { transform: translateY(1px) }
  @media (hover:hover) {
    .topic-art { transition: transform 220ms ease-out }
    .collection-card:hover .topic-art, .directory-card:hover .topic-art { transform: translateY(-3px) rotate(-3deg) }
  }
}
@media (max-width:360px) {
  .campaign-copy { padding: 14px }
  .campaign-home { min-height: 178px }
  .market-person { gap: 1px }
  .collection-directory .directory-card:not(.directory-feature):not(.directory-wide) h2 { font-size: 16px }
}

.campaign-home h1 { font-size: clamp(34px,11.2cqw,66px); letter-spacing: -.057em; line-height: .98; margin-bottom: clamp(16px,5cqw,28px) }
.back-link, .collection-navigation > a, .reference-profile .profile-invite-copy button { color: var(--action) }
.filter-summary, .catalog-filters > p { color: var(--muted) }
.count, .catalog-filters, .catalog-control select, .catalog-list-end button, .profile-secondary { background-color: var(--surface); border-color: var(--line); color: var(--secondary) }
.filter-reset { color: var(--action); border-color: var(--line) }
button:focus-visible, a:focus-visible, input:focus-visible { outline-color: var(--focus-ring) }

.rank-empty { position: relative; overflow: hidden; isolation: isolate; min-height: 194px; text-align: left; align-content: center; justify-items: start; background: linear-gradient(110deg,#162948,#0a1528); border-radius: var(--panel-radius) }
.rank-empty img { position: absolute; z-index: -1; width: 43%; height: 88%; right: 1%; bottom: 5%; object-fit: contain }
.rank-empty h2 { max-width: 57%; line-height: 1.04; font-size: clamp(24px,6.3vw,34px) }
.rank-empty .campaign-action { background: var(--selected); border-color: var(--line) }
.reference-profile .profile-metrics-grid { border: 1px solid var(--line); border-radius: var(--panel-radius); overflow: hidden; background: var(--line); gap: 1px }
.reference-profile .profile-metrics-grid > div { background: var(--surface); border-radius: 0 }
.detail-dialog.service-sheet.sheet-placeholder { height: auto; min-height: min(232px,60dvh) }
.manual-offer .promotion-code button.copy-confirmed, .reference-profile .profile-invite-copy button.copy-confirmed, button[data-copy-offer].copy-confirmed { color: var(--ice) }
.copy-confirmed::before { content: ""; display: inline-block; width: 9px; height: 5px; margin: 0 6px 3px 0; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg) }
