html[data-design="4"]{background-image:var(--komod-grain),linear-gradient(145deg,#f7f4f1,#e1d5f4 27%,#c7ddf5 59%,#e1a5be 82%,#899ab8)}
html[data-design="4"] .atmosphere{min-height:100%}
.alpha-header{display:flex;align-items:center;gap:10px;padding:calc(25px + env(safe-area-inset-top)) 32px 22px;position:relative;z-index:5}
.alpha-badge{font-size:9px;letter-spacing:.08em;color:#756075;margin:0 10px 0 2px}
.alpha-tabs{display:flex;padding:4px;border-radius:26px;position:absolute;left:50%;transform:translateX(-50%);gap:4px}
.alpha-tabs a{font-size:12px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:10px 22px;border-radius:23px}
.alpha-tabs a.active{background:#fff7;box-shadow:inset 0 1px 1px #fffc;color:#a44970}
.alpha-tabs svg{height:16px;width:16px}
.alpha-actions{margin-inline-start:auto;display:flex;align-items:center;gap:9px}
.alpha-account{position:relative;min-height:44px;min-width:44px;border-radius:25px;padding:0 15px;display:flex;align-items:center;justify-content:center;font-size:11px}
.alpha-account .avatar{height:29px;width:29px}
.avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;border-radius:50%;width:34px;height:34px;background:linear-gradient(135deg,#efc7d8,#d9e7f7);border:1px solid #fff9;font-size:12px;font-weight:500;unicode-bidi:isolate;direction:auto;line-height:1}
.alpha-main{padding-bottom:105px}
.alpha-filters{display:flex;justify-content:center;gap:12px;align-items:center;padding:5px 0 15px;max-width:760px;margin:auto}
.alpha-filters .categories{flex:1}
.alpha-filters .categories button{min-height:37px;font-size:10px}
.following-filter{position:relative;border-radius:23px;min-height:44px;padding:9px 15px;font-size:10px}
.following-filter.active{background:#f5a9c55c;color:#934766}
.alpha-nav{position:fixed;bottom:calc(20px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:9;display:flex;align-items:center;gap:8px;border-radius:32px;padding:7px 12px;min-width:312px;background:linear-gradient(120deg,#f5e6ef88,#e2edf58a)}
.alpha-nav button{height:46px;width:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#665769}
.alpha-nav button.active{background:#fff5;color:#a14871}
.alpha-nav button[data-nav=sell]{background:#f5a9c5;color:#332934}
.alpha-nav svg{width:21px;height:21px}
.alpha-empty{width:100%;text-align:center;min-height:calc(100svh - 295px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:65px 20px 100px;grid-column:1/-1}
.alpha-empty .empty-spark{width:47px;height:47px;color:#d06a8b;margin-bottom:24px;stroke-width:1}
.alpha-empty h2{font-size:30px;font-weight:400;letter-spacing:-1px;line-height:1.25}
.alpha-empty p{font-size:12px;max-width:310px;margin-top:13px;color:#63536b}
.alpha-empty .primary-button{margin-top:25px;padding-inline:27px;min-height:44px}
.alpha-empty .text-button{margin-top:10px}
.alpha-empty .alpha-empty-count{margin-top:27px;font-size:9px;letter-spacing:.06em;color:#776279}
.alpha-main .gallery:has(.alpha-empty){height:auto;display:block;padding:0;min-height:0}
.alpha-main .seller-preview{width:210px}
.alpha-main .seller-mini .avatar{width:27px;height:27px;font-size:10px}
.alpha-main .preview-price{white-space:nowrap;unicode-bidi:isolate}
.alpha-main .garment-image{border-radius:8px;filter:drop-shadow(7px 18px 13px #43364a26)}
.status-sold{position:absolute;top:15px;inset-inline-end:5px;font-size:9px;padding:5px 9px;border-radius:12px;background:#f7f4f1bd;z-index:2}
.timeline{max-width:560px;display:flex;flex-direction:column;gap:35px;padding:15px 0 30px}
.alpha-post{background:none;border:0;min-width:0}
.alpha-post header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0}
.alpha-post header button{display:flex;align-items:center;gap:9px;font-size:11px;min-height:44px}
.alpha-post header small{font-size:9px;color:#766578;margin-inline-start:auto}
.alpha-post .post-image{display:block;width:100%;padding:0}
.alpha-post .post-image img{width:100%;height:auto;display:block}
.alpha-post-footer{display:flex;align-items:center;gap:10px;padding-top:7px}
.alpha-post-footer .post-title{text-align:start;font-size:13px;padding:8px 0;flex:1}
.alpha-post-footer .price{font-size:12px;unicode-bidi:isolate;white-space:nowrap}
.alpha-post-meta{font-size:10px;color:#725e75;display:flex;gap:8px;align-items:center;justify-content:space-between}
#load-more{display:block;margin:25px auto 0;background:#fff4}
#modal{max-width:850px;background:linear-gradient(130deg,#edf0f4e8,#e4dcebdc);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
#modal .simple-panel{padding:65px 38px 35px;max-width:620px}
#modal .simple-panel h2{font-size:27px}
#modal .simple-panel>p{font-size:12px}
#modal .field{font-size:11px}
#modal .field input,#modal .field select,#modal .field textarea{font-size:13px;min-height:45px}
#modal input,#modal textarea{background:#ffffff70}
.form-stack{display:flex;flex-direction:column;gap:16px;margin:20px 0}
.form-error{color:#9b314f;font-size:11px;min-height:16px;line-height:1.6;margin:8px 0}
.form-hint{font-size:10px;color:#726276;line-height:1.7;margin:10px 0}
.auth-tabs{display:flex;gap:20px;margin:18px 0}
.auth-tabs button{font-size:12px;padding:10px 0;min-height:40px;color:#827287}
.auth-tabs button.active{color:#9b4668;border-bottom:1px solid #bf6f91}
.instagram-button{width:100%;border:1px solid #fff9;background:#ffffff36;display:flex;align-items:center;justify-content:center;gap:11px;min-height:46px;border-radius:24px;font-size:12px}
.instagram-button:disabled{opacity:.65}
.instagram-button svg{width:18px;height:18px}
.auth-separator{display:flex;align-items:center;gap:15px;font-size:9px;color:#7e6b81;margin:20px 0}
.auth-separator:before,.auth-separator:after{content:'';flex:1;height:1px;background:#fff8}
.rules{display:flex;align-items:flex-start;gap:9px;font-size:10px;line-height:1.7;color:#66576c}
.rules input{margin-top:4px;accent-color:#b96588}
.rules a{text-decoration:underline;text-underline-offset:3px}
.upload-prompt{display:flex;align-items:center;justify-content:center;gap:10px;min-height:105px;padding:20px;border:1px dashed #a583a3;border-radius:12px;background:#fff2;position:relative;font-size:12px;cursor:pointer}
.upload-prompt input{position:absolute;opacity:0;width:1px;height:1px}
.upload-preview{display:flex;gap:9px;margin-top:14px;overflow-x:auto}
.upload-preview img{width:82px;height:95px;object-fit:cover;border-radius:7px;flex:none}
.product-dialog .alpha-product{padding:70px 32px 30px;max-width:1150px;margin:auto;display:grid;grid-template-columns:1fr 330px;gap:40px;align-items:center;min-height:80dvh}
.alpha-product-photos{min-width:0;position:relative}
.alpha-photo-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;direction:ltr;max-height:68dvh}
.alpha-photo-track img{flex:0 0 100%;width:100%;min-width:100%;max-height:65dvh;object-fit:contain;scroll-snap-align:center;filter:drop-shadow(6px 16px 13px #4a3c5020)}
.alpha-photo-dots{display:flex;justify-content:center;align-items:center;gap:3px;padding-top:10px;direction:ltr}
.alpha-photo-dots button{height:36px;width:30px;position:relative}
.alpha-photo-dots button:after{content:'';position:absolute;left:12px;top:15px;width:6px;height:6px;border-radius:50%;background:#fff8}
.alpha-photo-dots button.active:after{background:#b45d83}
.alpha-product-info{position:relative;padding:24px;border-radius:16px;align-self:end;margin-bottom:20px}
.alpha-product-info .seller-link{display:flex;align-items:center;gap:9px;min-height:44px;margin-bottom:20px;font-size:11px}
.alpha-product-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.alpha-product-title h2{font-size:24px;font-weight:500;line-height:1.3;letter-spacing:-.6px}
.alpha-product-title strong{font-size:17px;white-space:nowrap;font-weight:500;unicode-bidi:isolate}
.alpha-product-info .description{overflow-wrap:anywhere;white-space:pre-wrap}
.alpha-product-info .product-attributes{margin-top:18px}
.alpha-product-actions{display:flex;gap:9px;margin-top:17px}
.alpha-product-actions .primary-button{flex:1}
.alpha-product-actions .heart-button{border:1px solid #fff9;border-radius:50%;height:44px;width:44px}
.product-utilities{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:15px}
.product-utilities button,.product-utilities a{font-size:10px;min-height:36px;display:flex;align-items:center;gap:6px;color:#745775}
.product-utilities .danger,.danger{color:#a0415f}
.profile-seller{display:flex;gap:13px;align-items:center}
.profile-seller .avatar{width:62px;height:62px;font-size:24px}
.alpha-wardrobe-text h2{font-size:23px}
.alpha-wardrobe-text p{font-size:11px;color:#63526b;max-width:360px;overflow-wrap:anywhere}
.alpha-wardrobe-actions{display:flex;gap:8px;margin-inline-start:auto;flex-wrap:wrap}
.alpha-wardrobe-actions button{font-size:11px}
.account-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:20px}
.account-links button,.account-links a{font-size:10px;min-height:35px;color:#775b73;display:flex;align-items:center}
.account-links .danger{color:#a0415f}
.recovery-code{display:block;padding:16px;background:#fff7;border-radius:9px;border:1px solid #fff9;word-break:break-all;direction:ltr;unicode-bidi:isolate;text-align:center;font-family:monospace;font-size:15px;margin:20px 0;user-select:all}
.legal-panel h3{font-size:15px;font-weight:500;margin:25px 0 8px}
.legal-panel ul{padding-inline-start:20px;font-size:12px;line-height:1.8;color:#69596c}
.legal-panel a{text-decoration:underline}
.alpha-inbox-header{padding:22px 24px;padding-inline-end:80px;border-bottom:1px solid #fff5;flex:none}
.alpha-inbox-header h2{font-size:23px;font-weight:500}
#modal.inbox-dialog{height:min(680px,calc(var(--visual-height,100dvh) - 35px));overflow:hidden}
.inbox-dialog #modal-content{height:100%;display:flex;flex-direction:column;min-height:0}
.alpha-inbox{display:grid;grid-template-columns:210px 1fr;flex:1;min-height:0}
.alpha-threads{overflow:auto;padding:13px;border-inline-end:1px solid #fff5}
.thread-button{display:flex;gap:9px;align-items:center;width:100%;text-align:start;min-height:64px;border-radius:10px;padding:10px}
.thread-button.active{background:#f5a9c530}
.thread-button .avatar{width:30px;height:30px}
.thread-button span:last-child{min-width:0;flex:1}
.thread-button strong{font-size:11px;font-weight:500;display:block}
.thread-button small{font-size:9px;display:block;max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#78627c;margin-top:5px}
.alpha-chat{display:flex;flex-direction:column;min-width:0;min-height:0}
.alpha-chat-heading{display:flex;align-items:center;gap:10px;font-size:11px;min-height:63px;padding:13px 20px;border-bottom:1px solid #fff5;flex:none}
.alpha-chat-heading button{margin-inline-start:auto;font-size:9px;color:#875e78;min-height:35px}
.alpha-chat-body{padding:20px;display:flex;flex-direction:column;gap:12px;flex:1;min-height:0;overflow:auto}
.alpha-chat-body .bubble{max-width:90%;background:#f3f1f5ab;font-size:12px;white-space:pre-wrap}
.alpha-chat-body .bubble.mine{background:#f2c4d8cc}
.alpha-compose{display:flex;gap:10px;flex:none;padding:13px 17px calc(13px + env(safe-area-inset-bottom));border-top:1px solid #fff6}
.alpha-compose input{min-width:0;width:100%;border:1px solid #fff7;border-radius:23px;padding:11px 14px;font-size:13px;min-height:44px}
.alpha-compose button{height:44px;width:44px;background:var(--pink)}
.inbox-empty{display:flex;align-items:center;justify-content:center;flex:1;min-height:160px;padding:25px;text-align:center;font-size:12px;color:#74617a}
html[lang=fa] .alpha-header .wordmark{direction:rtl;font-family:Vazirmatn,Tahoma,sans-serif;letter-spacing:0}
html[lang=fa] .alpha-empty h2{letter-spacing:0;line-height:1.6}
html[lang=fa] .alpha-product-title h2{letter-spacing:0;line-height:1.6}
html[lang=fa] .timeline{direction:rtl}
html[lang=fa] .alpha-product-info{direction:rtl}
html[lang=fa] .alpha-inbox{direction:rtl}
html[lang=fa] .alpha-empty .primary-button svg{transform:rotate(180deg)}
@media(max-width:900px){.alpha-header{flex-wrap:wrap;padding:calc(20px + env(safe-area-inset-top)) 22px 14px}.alpha-tabs{position:relative;left:auto;transform:none;order:4;margin:12px auto 0;flex:0 0 auto}.alpha-tabs a{padding:9px 25px;min-height:36px}.alpha-main{padding-inline:18px}.alpha-filters{padding-top:9px;gap:7px}.alpha-filters .categories button{font-size:9px;padding:9px 10px}.alpha-filters .following-filter{font-size:9px;padding-inline:10px}.alpha-empty{min-height:calc(100svh - 335px)}.product-dialog .alpha-product{grid-template-columns:1fr 300px;gap:20px;padding:70px 22px 25px}}
@media(max-width:600px){.alpha-header{padding-inline:20px}.alpha-badge{margin-inline-end:0;font-size:8px}.alpha-actions{gap:7px}.alpha-account{min-width:36px;min-height:36px;padding:0 11px;font-size:10px}.alpha-account:has(.avatar){padding:0;width:36px}.alpha-tabs{margin-top:11px}.alpha-tabs a{font-size:11px;padding:9px 23px}.alpha-main{padding-inline:14px}.alpha-filters{padding-top:7px;padding-bottom:7px}.alpha-filters .following-filter{min-width:58px;min-height:40px;font-size:9px;padding-inline:10px}.alpha-empty{padding:40px 20px 100px;min-height:calc(100svh - 290px)}.alpha-empty h2{font-size:27px;letter-spacing:-.8px}.alpha-empty p{font-size:11px}.alpha-empty .empty-spark{width:42px;height:42px;margin-bottom:22px}.alpha-nav{min-width:300px;gap:3px;padding:7px 10px;bottom:calc(14px + env(safe-area-inset-bottom))}.alpha-nav button{width:44px;height:44px}.alpha-nav svg{height:20px;width:20px}.alpha-main .gallery.floating{padding-bottom:60px;column-gap:15px;row-gap:45px}.alpha-main .gallery.floating .piece{height:235px}.alpha-main .garment-button{padding:8px}.timeline{width:calc(100% + 28px);max-width:none;margin-inline:-14px;padding-top:4px}.alpha-post header,.alpha-post-footer,.alpha-post-meta{padding-inline:15px}.alpha-post header{padding-block:10px}.alpha-post-meta{padding-bottom:3px}#modal .simple-panel{padding:70px 24px 30px}.product-dialog .alpha-product{display:flex;flex-direction:column;gap:20px;padding:calc(65px + env(safe-area-inset-top)) 20px calc(25px + env(safe-area-inset-bottom))}.alpha-product-photos{width:100%}.alpha-photo-track{max-height:49dvh}.alpha-photo-track img{height:45dvh;max-height:440px}.alpha-product-info{width:100%;padding:20px;margin:0}.alpha-product-title h2{font-size:24px}.alpha-product-title strong{font-size:16px}.alpha-inbox{display:flex;flex-direction:column}.alpha-threads{display:flex;overflow-x:auto;overflow-y:hidden;flex:none;border-inline-end:0;border-bottom:1px solid #fff5;padding:7px 12px}.thread-button{width:auto;min-width:100px;min-height:50px;padding:7px}.thread-button small{display:none}.alpha-chat{flex:1}.alpha-chat-heading{padding:10px 16px;min-height:57px}.alpha-inbox-header{padding:18px 24px;padding-inline-end:75px}.alpha-inbox-header h2{font-size:23px}.alpha-wardrobe-actions{width:100%;margin:10px 0 0}.alpha-wardrobe-text p{max-width:260px}}
@media(max-width:360px){.alpha-header{padding-inline:15px;gap:6px}.alpha-badge{font-size:7px}.alpha-actions{gap:5px}.alpha-tabs a{padding-inline:21px}.alpha-empty h2{font-size:25px}.alpha-main .gallery.floating .piece{height:205px}}
/* Bound real user text without shrinking mobile form controls. */
.alpha-product-title h2,.alpha-post-footer .post-title{min-width:0;overflow-wrap:anywhere}
.alpha-wardrobe-text{min-width:0}
.alpha-wardrobe-text h2{overflow-wrap:anywhere}
.alpha-main .seller-mini bdi{max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}
.alpha-product-info .size-circle>span{overflow-wrap:anywhere;font-size:11px;line-height:1.1}
@media(max-width:600px){#modal .field input,#modal .field select,#modal .field textarea,.alpha-compose input{font-size:16px}.profile-seller{max-width:100%}}

.phone-panel .about-brand{margin-bottom:22px}
.phone-panel h2{max-width:360px;line-height:1.25}
.phone-alternative{display:block;margin:19px auto 0;min-height:44px}
.phone-panel .phone-destination{margin:17px 0;color:#65596c;font-size:15px}
.phone-panel .phone-code-input{font-size:27px!important;letter-spacing:.35em;text-align:center;min-height:64px!important;font-variant-numeric:tabular-nums}
.phone-code-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}
.phone-code-actions button{font-size:11px;min-height:44px}
.phone-code-actions button:disabled{opacity:.55}
.phone-panel select{width:100%;color:#28252c;background:#fff7;border:1px solid #fff8;border-radius:10px;padding:10px 12px}
/* Beta controls keep the gallery quiet and the editing flow explicit. */
.cutout-option{border-top:1px solid #fff8;padding-top:14px;font-size:12px}
.cutout-option summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
.cutout-option input[type=file],#cutout-form input[type=file]{max-width:100%;font-size:12px;padding:12px 0;background:none}
.cutout-preview{display:flex;justify-content:center;margin-top:12px;border-radius:12px;overflow:hidden;background:repeating-conic-gradient(#fff3 0 25%,#b4a5bc16 0 50%) 0 / 20px 20px}
.cutout-preview:empty{display:none}
.cutout-preview img{display:block;max-width:100%;height:190px;object-fit:contain;padding:12px}
.alpha-photo-dots button[data-photo-step]{width:44px;height:44px;display:flex;align-items:center;justify-content:center}
.alpha-photo-dots button[data-photo-step]:after{display:none}
.alpha-photo-dots button[data-photo-step] svg{width:17px;height:17px}
.previous-arrow{transform:rotate(180deg)}
.sold-label{display:inline-block;font-size:10px;background:#fff7;border-radius:20px;padding:6px 12px;margin-top:16px}
.blocked-person{display:flex;align-items:center;gap:12px;min-height:74px;border-bottom:1px solid #fff6;font-size:13px}
.blocked-person>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.blocked-person small{display:block;font-size:10px;color:#756075;margin-top:4px}
.blocked-person button{font-size:11px;padding-inline:14px}
/* Keep the close control clear of both LTR and RTL headings. */
#modal .modal-close{right:auto;inset-inline-end:18px;top:18px}
.alpha-inbox-header{padding-inline-start:24px;padding-inline-end:88px}
@media(max-width:600px){.alpha-badge{letter-spacing:0}.alpha-product-title h2{font-size:22px}.alpha-photo-dots{gap:0}.alpha-photo-dots button:not([data-photo-step]){width:28px;min-height:44px}.alpha-inbox-header{padding-inline-end:82px}}

/* Beta typography keeps navigation readable without adding copy to the gallery. */
html[data-design="4"] body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
html[data-design="4"][lang="fa"] body {
  font-family: Vazirmatn, Tahoma, system-ui, sans-serif;
}
.alpha-tabs a, .alpha-account, .language-switch, .following-filter,
.alpha-filters .categories button {
  font-size: 13px;
  font-weight: 550;
  min-height: 44px;
}
.alpha-tabs a { padding-block: 8px; }
.alpha-header .alpha-account { min-width: 44px; }
.alpha-header .language-switch { min-width: 44px; }
.alpha-filters .categories button { padding-inline: 13px; }
.alpha-main .seller-mini bdi { font-size: 13px; max-width: 110px; }
.alpha-main .preview-price, .alpha-post-meta, .alpha-post header small,
.status-sold, .sold-label { font-size: 13px; }
.alpha-post header button, .alpha-post-footer .price,
.alpha-product-info .seller-link, .alpha-wardrobe-actions button { font-size: 15px; }
.alpha-post-footer .post-title { font-size: 17px; font-weight: 600; }
.alpha-product-info .description { font-size: 16px; line-height: 1.65; }
.alpha-product-info .meta-label { font-size: 12px; }
.alpha-product-info .size-circle > span { font-size: 14px; }
.product-utilities button, .product-utilities a,
.account-links button, .account-links a { font-size: 14px; min-height: 44px; }
.alpha-wardrobe-text p, .thread-button small { font-size: 14px; }
.alpha-chat-heading, .thread-button strong, .inbox-empty { font-size: 15px; }
.alpha-chat-heading button { font-size: 13px; min-height: 44px; }
.alpha-chat-body .bubble, .alpha-compose input { font-size: 16px; }
.alpha-empty p { font-size: 16px; }
#modal .simple-panel > p, #modal .field, #modal .rules,
#modal .form-hint, #modal .form-error, #modal .text-button { font-size: 14px; }
#modal .field { font-weight: 550; }
#modal .field input, #modal .field select, #modal .field textarea {
  min-height: 50px;
  font-size: 16px;
  font-weight: 400;
}
#modal .primary-button, #modal .secondary-button,
.alpha-product-actions .primary-button, #load-more { font-size: 15px; font-weight: 600; }
#modal .simple-panel h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.2;
}
html[lang="fa"] #modal .simple-panel h2 { letter-spacing: 0; line-height: 1.45; }
#modal .rules { align-items: flex-start; }
#modal .rules input[type="checkbox"] { width: 18px; height: 18px; flex: none; }
#modal .form-error:empty { display: none; }

#modal.auth-dialog { width: min(460px, calc(100% - 36px)); max-height: min(90dvh, 820px); }
#modal .auth-panel {
  padding: 37px 32px 30px;
  max-width: none;
}
#modal .auth-panel .about-brand {
  font-size: 23px;
  padding: 0;
  margin: 0 0 14px;
}
#modal .auth-panel .brand-spark { width: 18px; height: 18px; }
.auth-methods { display: grid; gap: 10px; margin-top: 24px; }
#modal .auth-methods button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  min-height: 52px;
  padding-inline: 20px;
  border-radius: 16px;
}
.auth-methods button svg { width: 17px; height: 17px; }
html[dir="rtl"] .auth-methods button svg { transform: rotate(180deg); }
#modal .auth-methods .secondary-button { background: #ffffff70; }
#modal .auth-panel form .primary-button { min-height: 50px; border-radius: 16px; }
#modal .auth-panel .text-button { min-height: 44px; }
#modal .auth-panel .form-stack { gap: 13px; margin-block: 16px 12px; }
#modal .auth-panel .form-hint { line-height: 1.55; margin-block: 0 14px; }
#modal .auth-panel .auth-tabs { gap: 16px; margin-block: 12px; }
#modal .auth-panel .auth-tabs button { font-size: 15px; padding-inline: 2px; }
#modal .auth-panel input.beta-code-field {
  text-align: center;
  font: 600 25px/1.2 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: .28em;
  padding-inline-start: calc(12px + .28em);
}

@media (max-width: 600px) {
  #modal.auth-dialog { width: 100%; max-height: calc(var(--visual-height, 100dvh) - 12px); }
  #modal .auth-panel { padding: 34px 22px calc(24px + env(safe-area-inset-bottom)); }
  .alpha-filters .categories button { padding-inline: 12px; }
  .alpha-wardrobe-text p { max-width: unset; }
}

/* Pins share the existing compact controls and make their saved state visible. */
.pin-button svg, .alpha-nav button[data-nav="pins"] svg {
  transform: rotate(35deg);
}
.pin-button.is-pinned {
  color: #a34d74;
  background: #f7d0e0;
}
.pin-button.is-pinned svg { fill: #f5a9c5; stroke: #a34d74; }
.alpha-main .pin-button { width: 44px; height: 44px; }
.alpha-product-actions .pin-button { flex: 0 0 44px; }
