[hidden]{display:none!important}
.topbar{gap:18px}.account-toolbar{display:flex;align-items:center;gap:16px;margin-left:auto}.topbar>[data-action="open-summary"]{order:2}.account-toolbar button{border:0;cursor:pointer;font-weight:700;font-size:13px}.account-profile{background:none}.account-buy{background:var(--ink);color:var(--lime);border-radius:30px;padding:11px 16px}#header-credits{font-size:12px;color:var(--muted);white-space:nowrap}
.create-home.is-active{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin:55px 0 80px;padding:46px 52px;background:#fffdfa;border:1px solid var(--line);border-radius:26px}.create-copy h2{font:800 clamp(30px,4vw,48px)/1.06 Manrope,sans-serif;letter-spacing:-.055em;margin:0 0 18px}.create-copy p{font-size:20px;line-height:1.5;color:var(--muted);margin:0 0 26px}.create-copy>small{display:block;color:var(--muted);font-size:12px;margin-top:16px;max-width:260px;line-height:1.6}.create-visual{border:0;border-radius:20px;background:#eeeae2;cursor:pointer;position:relative;min-height:300px;padding:24px;display:grid;place-items:center;overflow:hidden}.create-visual svg{width:210px;height:242px;transition:transform .25s}.create-visual:hover svg{transform:rotate(-4deg) scale(1.035)}.create-visual-caption{display:flex;align-items:center;gap:25px;font-size:13px;font-weight:700;margin-top:16px}.create-visual-caption b{font-size:24px}.stepper{margin-top:22px}.studio-options{display:grid;gap:24px;border-top:1px solid var(--line);padding-top:24px;margin-top:22px}.studio-options .size-table{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.studio-options .counter{display:flex;justify-content:center}.studio-options .counter input{width:36px;min-width:0}.studio-options .counter button{flex-shrink:0}.studio-price{display:flex;flex-direction:column;gap:6px;padding:24px 0 4px}.studio-price strong{font:800 clamp(32px,3vw,44px)/1.1 Manrope,sans-serif;letter-spacing:-.04em}.studio-price>span{color:var(--muted);font-size:16px}.studio-price>small,.save-status{color:var(--muted);font-size:12px;line-height:1.5}.save-status{min-height:18px}.save-status.is-error{color:#a82f2f}
.account-dialog{border:1px solid #deded8;border-radius:22px;background:#fffdfa;color:var(--ink);padding:32px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 24px 80px #17191b20;inset:0;margin:auto}.account-dialog::backdrop{background:rgba(255,255,255,.8);backdrop-filter:blur(2px)}.account-dialog h2{font:800 26px/1.16 Manrope,sans-serif;letter-spacing:-.04em;margin:18px 0 12px}.account-dialog h3{font:800 17px Manrope,sans-serif;letter-spacing:-.02em}.account-dialog p{font-size:14px;line-height:1.6;color:var(--muted)}.account-dialog small{display:block;font-size:12px;color:var(--muted);line-height:1.6}.dialog-close{position:absolute;right:13px;top:12px;width:32px;height:32px;border:0;background:transparent;font-size:26px;cursor:pointer;line-height:1}.auth-dialog{width:380px}.auth-dialog form{display:grid;gap:12px;margin-top:24px}.auth-dialog label{font-size:13px;font-weight:700}.auth-dialog input{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:white}.auth-dialog .primary-button{font-size:13px;padding:14px 16px}.auth-dialog #auth-code{font-size:27px;text-align:center;letter-spacing:.32em;font-variant-numeric:tabular-nums}.auth-links{display:flex;justify-content:space-between;gap:8px}.auth-links button{background:none;border:0;padding:6px 0;cursor:pointer;font-size:11px;text-decoration:underline}.auth-divider{position:relative;text-align:center;margin:20px 0;color:var(--muted);font-size:12px}.auth-divider:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:var(--line)}.auth-divider span{background:#fffdfa;padding:0 10px;position:relative}.google-button{width:100%;border:1px solid var(--line);border-radius:10px;padding:13px;background:white;font-weight:700;font-size:13px;cursor:pointer}#google-status{text-align:center;margin-top:7px}.account-dialog button:disabled{opacity:.5;cursor:default}.account-dialog .account-message{min-height:0;color:var(--muted);font-size:13px;margin:12px 0;overflow-wrap:anywhere}.account-dialog .account-message.is-error{color:#a82f2f}.account-dialog input:focus-visible,.account-dialog button:focus-visible{outline:3px solid #9cbe1a;outline-offset:3px}.profile-dialog{width:740px}.profile-balance{display:flex;align-items:center;justify-content:space-between;padding:20px;background:#f0f3e6;border-radius:15px}.profile-balance strong{font:800 24px Manrope,sans-serif}.profile-heading{display:flex;justify-content:space-between;align-items:center;margin-top:22px}.project-list{display:grid;gap:10px}.project-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.project-row>button:first-child{flex:1;text-align:left;border:0;background:none;cursor:pointer;font-weight:700}.project-row small{font-weight:400;margin-top:4px}.project-row>button:last-child{font-size:11px;border:0;background:none;cursor:pointer;color:var(--muted)}.design-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.design-tile{border:1px solid var(--line);background:#f0eee8;border-radius:12px;padding:10px;cursor:pointer;text-align:left}.design-tile img{width:100%;height:105px;object-fit:contain;display:block}.design-tile span{display:block;font-size:11px;line-height:1.4;margin-top:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.logout-button{margin-top:26px;color:var(--muted)}.credits-dialog{width:540px}.credit-packages{display:grid;gap:10px;margin:24px 0}.credit-pack{display:grid;grid-template-columns:1fr auto;align-items:center;border:1px solid var(--line);border-radius:12px;background:white;padding:17px 20px;text-align:left;cursor:pointer}.credit-pack:hover{border-color:var(--ink);background:#f7f9ef}.credit-pack strong{font-size:16px}.credit-pack b{grid-column:2;grid-row:1/3;font:800 25px Manrope,sans-serif}.credit-pack small{margin-top:4px}#credit-pay{margin-top:22px}.shared-banner{padding:14px 20px;background:#eff3e2;border:1px solid #d4daba;border-radius:12px;margin-bottom:20px;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:16px}.shared-banner button{border:0;background:var(--ink);color:white;border-radius:20px;padding:10px 16px;font-weight:700;cursor:pointer}
@media(max-width:700px){.topbar{padding:0 16px;gap:10px}.account-toolbar{gap:8px}.account-toolbar button{font-size:11px}.account-buy{padding:9px 11px}#header-credits{font-size:10px}.create-home.is-active{grid-template-columns:1fr;padding:26px;gap:24px;margin:30px 0 50px}.create-copy p{font-size:17px}.create-visual{min-height:240px}.create-visual svg{height:180px}.account-dialog{padding:26px}.profile-balance{gap:12px}.profile-balance strong{font-size:20px}.profile-balance .primary-button{font-size:11px;padding:12px}.design-list{grid-template-columns:repeat(2,minmax(0,1fr))}.stepper .step small{display:none}.stepper i{width:20px;margin:0 8px}.studio-options .size-table{grid-template-columns:repeat(3,minmax(0,1fr))}.shared-banner{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.create-visual svg{transition:none}}

/* Credit purchase: keep the package choice and order bonus clear at a glance. */
.credits-dialog{width:600px;height:fit-content;scrollbar-width:thin;scrollbar-color:#b9b9b1 transparent}
.credits-dialog::-webkit-scrollbar{width:10px}
.credits-dialog::-webkit-scrollbar-track{margin-block:14px;background:transparent;border-radius:999px}
.credits-dialog::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#b9b9b1;background-clip:padding-box}
.credits-dialog::-webkit-scrollbar-thumb:hover{background:#8f9189;background-clip:padding-box}
.credits-dialog::backdrop{background:rgba(23,25,27,.42);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.credits-dialog .credits-lead{margin:0 0 24px;font-size:16px}
.credits-dialog.is-credit-required .credits-lead{color:#4f5835}
.credits-step-title{margin:0}
.credit-packages{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 20px;min-height:150px}
.credit-pack{padding:18px 20px;transition:border-color .18s ease,background-color .18s ease,transform .18s ease}
.credit-pack:active{transform:translateY(1px)}
.credits-order-bonus{display:grid;gap:3px;margin:18px 0 4px;padding:16px 18px;border-radius:12px;background:#f0f3e6}
.credits-order-bonus strong{font-size:14px}
.credits-order-bonus span{font-size:12px;line-height:1.5;color:var(--muted)}
.credit-confirmation{display:grid;place-items:center;gap:10px;min-height:246px;padding:32px;text-align:center}.credit-confirmation[hidden]{display:none}.credit-confirmation__spinner{width:34px;height:34px;border:3px solid #d7ddc5;border-right-color:#53632c;border-radius:50%;animation:account-spin .75s linear infinite}.credit-confirmation strong{font:800 19px/1.35 Manrope,sans-serif}.credit-confirmation span:last-child{max-width:330px;color:var(--muted);font-size:13px;line-height:1.55}.credit-confirmation.is-complete .credit-confirmation__spinner{display:grid;place-items:center;border:0;background:#d8ff45;color:var(--ink);animation:none}.credit-confirmation.is-complete .credit-confirmation__spinner::before{content:"✓";font-size:20px;font-weight:900}
.generation-order-bonus{margin:8px 0 0;padding:10px 12px;border-radius:10px;background:#f0f3e6;color:var(--muted);font-size:11px;line-height:1.45}
.generation-order-bonus strong{color:var(--ink)}

@media(max-width:700px){.credit-packages{grid-template-columns:1fr;min-height:288px}}

/* Stable async states */
.account-profile{min-width:58px;min-height:38px}.account-toolbar{min-height:42px}#header-credits{min-width:72px;text-align:right;font-variant-numeric:tabular-nums}.account-toolbar.is-loading .account-profile{position:relative;overflow:hidden;border-radius:8px;background:#dfdcd4;color:transparent;pointer-events:none}.account-toolbar.is-loading .account-profile::after{content:"";position:absolute;inset:0;transform:translateX(-110%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);animation:ui-skeleton-shimmer 1.25s ease-in-out infinite}.profile-dialog{height:min(760px,calc(100dvh - 32px))}.project-list{min-height:54px}.design-list{min-height:137px}.account-message{min-height:20px!important}
.save-status{min-height:36px}
.ui-skeleton{position:relative;overflow:hidden;background:#e6e3dc;color:transparent!important;pointer-events:none;user-select:none}.ui-skeleton::after,.design-tile.is-loading::after{content:"";position:absolute;inset:0;transform:translateX(-110%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);animation:ui-skeleton-shimmer 1.25s ease-in-out infinite}.project-skeleton{height:52px;border-radius:10px}.design-skeleton{height:137px;border-radius:12px}.credit-skeleton{height:64px;border-radius:12px}.project-list[aria-busy="true"],.design-list[aria-busy="true"],.credit-packages[aria-busy="true"]{cursor:progress}.design-tile{position:relative;overflow:hidden;min-height:137px}.design-tile img{opacity:1;transition:opacity .18s ease}.design-tile.is-loading img{opacity:0}.design-tile.is-loading::after{inset:10px 10px 32px;border-radius:8px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.78),transparent)}.design-tile.is-load-error img{display:none}.design-tile.is-load-error::before{content:"Predogled ni na voljo";display:grid;place-items:center;height:105px;color:var(--muted);font-size:10px;text-align:center}.account-dialog button.is-loading,.project-card__delete.is-loading{cursor:progress;opacity:.68}.account-dialog button.is-loading::after,.project-card__delete.is-loading::after{content:"";display:inline-block;width:12px;height:12px;margin-left:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:account-spin .7s linear infinite}.stripe-payment-element{min-height:180px}.stripe-payment-shell[aria-busy="true"] .stripe-payment-element{position:relative;overflow:hidden;border-radius:10px;background:#e6e3dc;pointer-events:none}.stripe-payment-shell[aria-busy="true"] .stripe-payment-element>*{visibility:hidden}.stripe-payment-shell[aria-busy="true"] .stripe-payment-element::after{content:"";position:absolute;inset:0;transform:translateX(-110%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);animation:ui-skeleton-shimmer 1.25s ease-in-out infinite}
@keyframes ui-skeleton-shimmer{to{transform:translateX(110%)}}@keyframes account-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.profile-dialog{height:calc(100dvh - 32px)}.account-toolbar{min-width:120px;justify-content:flex-end}#header-credits{min-width:0}.design-list{min-height:286px}}
@media(prefers-reduced-motion:reduce){.ui-skeleton::after,.design-tile.is-loading::after,.stripe-payment-shell[aria-busy="true"] .stripe-payment-element::after,.account-dialog button.is-loading::after,.project-card__delete.is-loading::after,.account-toolbar.is-loading .account-profile::after,.credit-confirmation__spinner{animation:none}}
body.builder-focus .topbar{display:flex;position:relative;z-index:20;height:72px;background:#fffdfa}
body.builder-focus .stepper{display:flex;height:58px;margin:0;background:#fffdfa}
body.builder-focus main{min-height:calc(100dvh - 72px)}
body.builder-focus .step-panel.is-active{min-height:calc(100dvh - 130px)}
body.builder-focus [data-panel="2"].is-active{height:calc(100dvh - 130px)}
body.builder-focus [data-panel="2"] .studio-grid{grid-template-columns:minmax(350px,35%) minmax(0,65%)}
body.builder-focus [data-panel="2"] .studio-head{padding:16px 32px}
body.builder-focus [data-panel="2"] .studio-head h2{font-size:25px}
body.builder-focus [data-panel="2"] .panel-footer{justify-content:space-between}
@media(max-width:760px){body.builder-focus [data-panel="2"].is-active{height:auto;overflow:visible;padding-bottom:70px}body.builder-focus [data-panel="2"] .studio-grid{grid-template-columns:1fr}body.builder-focus [data-panel="2"] .design-controls{overflow:visible}body.builder-focus [data-panel="2"] .preview-column{min-height:500px}body.builder-focus [data-panel="2"] .shirt-stage{min-height:360px}body.builder-focus .topbar{height:66px}.topbar .brand{gap:6px}.topbar .brand-wordmark{font-size:18px}.topbar .brand-mark{width:32px;height:32px}.account-toolbar{gap:6px}.account-buy{padding:8px}.topbar [data-action="open-summary"]{width:34px;height:34px}}
body.builder-focus [data-panel="2"] .studio-head>div>p{max-width:none}
.panel-footer .studio-price{padding:0;margin-left:auto;margin-right:26px;gap:3px;text-align:right}
.panel-footer .studio-price strong{font-size:30px}.panel-footer .studio-price>span{font-size:13px}.panel-footer .studio-price>small{font-size:10px}
@media(max-width:700px){.panel-footer .studio-price{margin:0 8px}.panel-footer .studio-price strong{font-size:21px}.panel-footer .studio-price>span{font-size:11px}.panel-footer .studio-price>small{display:none}body.builder-focus [data-panel="2"] .panel-footer .primary-button{font-size:12px;gap:8px}.panel-footer .secondary-button{font-size:12px}}
body.builder-focus .topbar{position:sticky;top:0}
.account-buy{white-space:nowrap}

/* Premium checkout choice: compact native checkbox and explicit surcharge. */
.checkout-form .premium-upsell{
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  align-items:center;
  gap:9px 10px;
  margin:26px 0 8px;
  padding:18px;
  border:1px solid #c6ccb8;
  border-radius:16px;
  background:#f7f9f1;
  cursor:pointer;
  transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease;
}
@media(hover:hover){
  .checkout-form .premium-upsell:hover{border-color:#7c885f;background:#f2f6e7}
}
.checkout-form .premium-upsell:has(input:checked){border-color:#73833e;background:#eff5dd;box-shadow:inset 0 0 0 1px #73833e}
.checkout-form .premium-upsell:has(input:focus-visible){outline:3px solid var(--ink);outline-offset:4px}
.checkout-form .premium-upsell:has(input:disabled){cursor:wait;opacity:.62}
.checkout-form .premium-upsell>input{
  appearance:auto;
  display:block;
  width:22px;
  height:22px;
  margin:0;
  padding:0;
  accent-color:var(--ink);
  box-shadow:none;
  cursor:inherit;
}
.premium-upsell__heading{display:grid;gap:2px;min-width:0}
.premium-upsell__heading>small{color:#53632c;font:700 12px/1.4 "DM Sans",sans-serif}
.premium-upsell__heading>strong{font:800 19px/1.3 Manrope,sans-serif;letter-spacing:-.025em;text-wrap:balance}
.premium-upsell__description{grid-column:2;color:#51564a;font:400 14px/1.48 "DM Sans",sans-serif}
.premium-upsell__benefits{grid-column:2;display:flex;flex-wrap:wrap;gap:6px 14px}
.premium-upsell__benefits>span{display:flex;align-items:baseline;gap:5px;color:#3f4932;font:500 13px/1.4 "DM Sans",sans-serif}
.premium-upsell__benefits b{flex:none;color:#53632c;font:700 15px/1 "DM Sans",sans-serif}
.premium-upsell__footer{grid-column:2;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:8px 14px;padding-top:11px;border-top:1px solid #d5ddc4}
.premium-upsell__price{display:grid;gap:4px}
.premium-upsell__price>small{color:#51564a;font:500 12px/1.4 "DM Sans",sans-serif}
.premium-upsell__price>b{font:800 18px/1.3 Manrope,sans-serif;letter-spacing:-.025em;white-space:nowrap;font-variant-numeric:tabular-nums}
.premium-upsell__total{color:#51564a;font:500 12px/1.5 "DM Sans",sans-serif;font-variant-numeric:tabular-nums}
@media(max-width:700px){
  .checkout-form .premium-upsell{grid-template-columns:22px minmax(0,1fr);gap:8px 9px;padding:15px}
  .premium-upsell__heading>strong{font-size:17px}
  .premium-upsell__benefits{flex-direction:column;gap:5px}
  .premium-upsell__footer{padding-top:10px}
}
@media(prefers-reduced-motion:reduce){
  .checkout-form .premium-upsell{transition:none}
}

/* Saved shirts */
.profile-heading>div{display:grid;gap:4px}.profile-heading h3{margin:0}.profile-heading small{max-width:390px}.project-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.project-card{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff}.project-card__open{display:block;width:100%;padding:0;border:0;border-radius:14px;background:#fff;color:var(--ink);text-align:left;cursor:pointer}.project-card__open:hover{background:#f7f9ef}.project-card__open:active{transform:translateY(1px)}.project-card__preview{display:grid;grid-template-columns:1fr;min-height:166px;background:#fff}.project-card__preview.is-pair{grid-template-columns:repeat(2,minmax(0,1fr))}.project-card__side{display:grid;grid-template-rows:142px 24px;min-width:0}.project-card__side+.project-card__side{border-left:1px solid #d8d5ce}.project-card__stage{position:relative;display:block;overflow:hidden;container-type:size;background:#fff}.project-card__stage .mockup-shirt{width:min(94cqw,81.47cqh)}.project-card__side-label{display:grid;place-items:center;background:#e7e4dd;color:var(--muted);font-size:10px;font-weight:700}.project-card__details{display:grid;gap:3px;padding:15px 16px 13px}.project-card__details strong{overflow:hidden;font:800 15px/1.3 Manrope,sans-serif;text-overflow:ellipsis;white-space:nowrap}.project-card__details small{font-size:11px;line-height:1.45}.project-card__date{margin-top:5px}.project-card__action{margin-top:8px;font-size:12px;font-weight:800}.project-card__actions{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}.project-card__actions button{padding:10px 16px;border:0;background:#fff;font-size:10px;cursor:pointer}.project-card__revoke{color:var(--muted);text-align:left}.project-card__delete{border-left:1px solid var(--line)!important;color:#a52b2b;text-align:right}.project-card__actions button:hover{background:#f7f9ef;color:var(--ink)}.project-empty{grid-column:1/-1;display:grid;gap:5px;padding:28px;border:1px dashed #c9c6bf;border-radius:14px;background:#f7f6f2}.project-empty strong{font-size:15px}.project-skeleton{height:302px;border-radius:14px}

.project-card__stage .mockup-shirt.is-design-loading::after{content:"";position:absolute;z-index:2;top:22.5%;left:32.5%;width:35%;height:38%;border-radius:5px;background:linear-gradient(105deg,rgba(255,255,255,.08) 20%,rgba(255,255,255,.62) 42%,rgba(255,255,255,.08) 64%),rgba(120,120,116,.2);background-size:240% 100%;animation:project-design-loading 1.1s ease-in-out infinite}.project-card__stage[data-placement="heart"] .mockup-shirt.is-design-loading::after{top:22%;left:54.5%;width:14%;height:20%}.project-card__stage[data-side="back"] .mockup-shirt.is-design-loading::after{top:20.5%}.project-card__stage .mockup-shirt.is-design-error::after{content:"Motiv ni na voljo";position:absolute;z-index:2;top:39%;left:50%;width:72%;transform:translate(-50%,-50%);color:#676965;font-size:9px;font-weight:700;text-align:center}.project-card__stage .mockup-shirt.is-design-loading .mockup-design{opacity:0}@keyframes project-design-loading{to{background-position:-240% 0}}

@media(max-width:700px){.profile-heading{align-items:flex-start;gap:16px}.profile-heading .text-button{white-space:nowrap}.project-list{grid-template-columns:1fr}.project-card__side{grid-template-rows:134px 24px}.project-card__preview{min-height:158px}.project-skeleton{height:294px}}
@media(prefers-reduced-motion:reduce){.project-card__open:active{transform:none}.project-card__stage .mockup-shirt.is-design-loading::after{animation:none}}

/* Logged-in home */
.member-home { display: none; }
body.account-home:not(.builder-focus) .member-home { display: grid; }
body.account-home:not(.builder-focus) .intro,
body.account-home:not(.builder-focus) .showcase,
body.account-home:not(.builder-focus) .create-home,
body.account-home:not(.builder-focus) .process-strip { display: none; }
body.builder-focus .member-home { display: none; }

body.account-home:not(.builder-focus) main {
  width: min(1240px, calc(100% - 40px));
  padding: 42px 0 88px;
}

.member-home {
  --member-surface: #fffdfa;
  --member-soft: #ece9e2;
  --member-line: rgba(23, 25, 27, .13);
  display: grid;
  gap: 22px;
  color: var(--ink);
}

.member-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  min-height: 350px;
  overflow: hidden;
  border-radius: 24px;
  background: #202326;
  color: #f8f8f3;
  box-shadow: 0 24px 70px rgba(23, 25, 27, .12);
}

.member-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 54px 62px;
  background:
    radial-gradient(circle at 90% 20%, rgba(216, 255, 69, .12), transparent 32%),
    #202326;
}

.member-eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font: 800 11px/1 Manrope, sans-serif;
  letter-spacing: .14em;
}

.member-hero h1 {
  max-width: 720px;
  margin: 0;
  font: 800 clamp(42px, 6vw, 76px)/.98 Manrope, sans-serif;
  letter-spacing: -.06em;
}

.member-hero h1 span { color: var(--lime); }
.member-hero__copy > p:not(.member-eyebrow) { max-width: 520px; margin: 22px 0 28px; color: #c9ccc7; font-size: 17px; line-height: 1.55; }
.member-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.member-primary,
.member-secondary,
.member-balance button,
.member-section-head button,
.member-cart__button,
.support-form button {
  min-height: 46px;
  border: 0;
  border-radius: 11px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.member-primary { background: var(--lime); color: var(--ink); }
.member-primary span,
.support-form button span,
.member-cart__button span { margin-left: 12px; }
.member-secondary { border: 1px solid rgba(255, 255, 255, .24); background: transparent; color: #f8f8f3; }
.member-primary:hover { background: #e2ff75; }
.member-secondary:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); }
.member-primary:active,
.member-secondary:active,
.member-balance button:active,
.member-section-head button:active,
.member-cart__button:active,
.support-form button:active { transform: translateY(1px); }

.member-balance {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 38px;
  background: var(--lime);
  color: var(--ink);
}
.member-balance img { position: absolute; top: 34px; right: 34px; width: 54px; height: 54px; filter: grayscale(1) contrast(1.3); }
.member-balance > span { margin-bottom: 7px; font-size: 12px; font-weight: 700; }
.member-balance strong { font: 800 34px/1.05 Manrope, sans-serif; letter-spacing: -.04em; }
.member-balance small { margin: 9px 0 24px; color: #4b521f; font-size: 12px; }
.member-balance button { min-height: 42px; border: 1px solid rgba(23, 25, 27, .22); background: transparent; }
.member-balance button:hover { background: var(--ink); color: var(--lime); }

.member-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .65fr); gap: 22px; }
.member-projects,
.member-cart,
.member-support {
  border: 1px solid var(--member-line);
  border-radius: 22px;
  background: var(--member-surface);
}
.member-projects { padding: 30px; }
.member-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.member-section-head h2,
.member-cart h2,
.member-support h2 { margin: 0; font: 800 26px/1.1 Manrope, sans-serif; letter-spacing: -.04em; }
.member-section-head p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.member-section-head button { min-height: 40px; border: 1px solid var(--member-line); background: transparent; }
.member-section-head button:hover { border-color: var(--ink); background: var(--member-soft); }
.member-project-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-height: 260px; }
.member-project-list .project-card { border-radius: 16px; background: var(--member-surface); }
.member-project-list .project-card__open { height: 100%; border-radius: 16px; background: var(--member-surface); }
.member-project-list .project-card__open:hover { background: color-mix(in srgb, var(--member-surface) 80%, var(--lime)); }
.member-project-list .project-card__preview { min-height: 142px; }
.member-project-list .project-card__side { grid-template-rows: 118px 24px; }
.member-project-list .project-card__details { padding: 14px 15px 16px; }
.member-project-list .project-card__action { color: #515b18; }
.member-project-skeleton { min-height: 260px; overflow: hidden; border-radius: 16px; background: var(--member-soft); }
.member-project-skeleton::after { content: ""; display: block; width: 45%; height: 100%; transform: translateX(-120%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); animation: member-shimmer 1.2s ease-in-out infinite; }
.member-empty { grid-column: 1 / -1; display: grid; place-items: start; align-content: center; min-height: 260px; padding: 34px; border: 1px dashed var(--member-line); border-radius: 16px; background: var(--member-soft); }
.member-empty strong { font: 800 20px/1.2 Manrope, sans-serif; }
.member-empty p { max-width: 380px; margin: 9px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.member-empty button { min-height: 42px; border: 0; border-radius: 10px; padding: 0 16px; background: var(--ink); color: var(--lime); font-weight: 800; cursor: pointer; }

.member-cart { display: flex; min-height: 100%; flex-direction: column; padding: 30px; background: #d8ff45; color: var(--ink); }
.member-cart__top { display: flex; align-items: baseline; gap: 7px; margin-bottom: auto; }
.member-cart__top span:first-child { font: 800 clamp(58px, 7vw, 90px)/.9 Manrope, sans-serif; letter-spacing: -.07em; }
.member-cart__top span:last-child { font-size: 13px; font-weight: 700; }
.member-cart h2 { margin-top: 38px; }
.member-cart > p { margin: 10px 0 20px; color: #4b521f; font-size: 13px; line-height: 1.55; }
.member-cart__meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-top: 16px; border-top: 1px solid rgba(23, 25, 27, .18); font-size: 12px; }
.member-cart__button { margin-top: auto; background: var(--ink); color: var(--lime); }
.member-cart__button:hover { background: #2c3033; }
.member-cart__button:disabled { cursor: default; opacity: .45; transform: none; }

.member-support { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); overflow: hidden; }
.member-support__intro { display: flex; align-items: flex-start; gap: 16px; padding: 34px; border-right: 1px solid var(--member-line); background: var(--member-soft); }
.member-support__intro img { flex: 0 0 auto; }
.member-support__intro p { max-width: 300px; margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.support-chat { padding: 30px; }
.support-messages { display: grid; gap: 10px; max-height: 310px; overflow: auto; scroll-behavior: smooth; }
.support-message { width: fit-content; max-width: min(82%, 560px); margin: 0; padding: 12px 15px; border-radius: 14px; font-size: 13px; line-height: 1.55; white-space: pre-wrap; }
.support-message--assistant { background: var(--member-soft); color: var(--ink); }
.support-message--user { justify-self: end; background: var(--ink); color: #f8f8f3; }
.support-message.is-loading { min-width: 84px; color: transparent; }
.support-message.is-loading::after { content: "Razmišljam"; color: var(--muted); }
.support-suggestions { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0; }
.support-suggestions button { min-height: 34px; border: 1px solid var(--member-line); border-radius: 10px; padding: 0 11px; background: transparent; cursor: pointer; color: var(--muted); font-size: 11px; font-weight: 700; }
.support-suggestions button:hover { border-color: var(--ink); color: var(--ink); }
.support-form { display: grid; gap: 8px; }
.support-form label { font-size: 12px; font-weight: 800; }
.support-form > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: stretch; }
.support-form textarea { min-height: 54px; height: 54px; border-color: var(--member-line); background: var(--member-surface); color: var(--ink); }
.support-form textarea::placeholder { color: #696c6f; }
.support-form button { min-width: 110px; background: var(--ink); color: var(--lime); }
.support-form button:disabled { cursor: wait; opacity: .55; }
#support-status { min-height: 18px; margin: 0; color: var(--muted); font-size: 11px; }
#support-status.is-error { color: #a82f2f; }

@keyframes member-shimmer { to { transform: translateX(240%); } }

@media (prefers-reduced-motion: no-preference) {
  .member-hero,
  .member-grid,
  .member-support { animation: member-enter .42s cubic-bezier(.16, 1, .3, 1) both; }
  .member-grid { animation-delay: .06s; }
  .member-support { animation-delay: .12s; }
  @keyframes member-enter { from { opacity: 0; transform: translateY(12px); } }
}

@media (prefers-color-scheme: dark) {
  body.account-home:not(.builder-focus) { background: #17191b; }
  body.account-home:not(.builder-focus) .topbar { border-color: rgba(255,255,255,.11); background: rgba(23,25,27,.92); color: #f4f4ef; }
  body.account-home:not(.builder-focus) .brand,
  body.account-home:not(.builder-focus) .account-profile,
  body.account-home:not(.builder-focus) #header-credits { color: #f4f4ef; }
  body.account-home:not(.builder-focus) .account-buy { background: var(--lime); color: var(--ink); }
  body.account-home:not(.builder-focus) .site-footer { border-color: rgba(255,255,255,.1); background: #17191b; color: #f4f4ef; }
  .member-home { --member-surface: #222528; --member-soft: #2b2e31; --member-line: rgba(255,255,255,.13); color: #f4f4ef; }
  .member-project-list .project-card__open { color: #f4f4ef; }
  .member-project-list .project-card__stage { background: #fff; }
  .member-project-list .project-card__side-label { background: #303336; color: #c3c6c1; }
  .member-project-list .project-card__action { color: var(--lime); }
  .member-section-head p,
  .member-empty p,
  .member-support__intro p,
  .support-suggestions button,
  #support-status { color: #b9bcb7; }
  .member-section-head button,
  .support-suggestions button { color: #f4f4ef; }
  .support-form textarea { color: #f4f4ef; }
  .support-form textarea::placeholder { color: #aeb1ad; }
  .support-message--assistant { color: #f4f4ef; }
}

@media (max-width: 820px) {
  body.account-home:not(.builder-focus) main { width: min(100% - 24px, 1240px); padding-top: 20px; }
  .member-hero { grid-template-columns: 1fr; }
  .member-hero__copy { min-height: 330px; padding: 42px 30px; }
  .member-balance { min-height: 210px; padding: 30px; }
  .member-balance img { top: 26px; right: 26px; }
  .member-grid,
  .member-support { grid-template-columns: 1fr; }
  .member-cart { min-height: 340px; }
  .member-support__intro { border-right: 0; border-bottom: 1px solid var(--member-line); }
}

@media (max-width: 560px) {
  body.account-home:not(.builder-focus) #header-credits,
  body.account-home:not(.builder-focus) #open-credits { display: none; }
  body.account-home:not(.builder-focus) .account-toolbar { min-width: 0; }
  .member-home { gap: 14px; }
  .member-hero,
  .member-projects,
  .member-cart,
  .member-support { border-radius: 18px; }
  .member-hero__copy { min-height: 310px; padding: 34px 24px; }
  .member-hero h1 { font-size: clamp(39px, 13vw, 58px); }
  .member-hero__copy > p:not(.member-eyebrow) { font-size: 15px; }
  .member-hero__actions { width: 100%; }
  .member-primary,
  .member-secondary { flex: 1 1 auto; }
  .member-balance,
  .member-projects,
  .member-cart,
  .member-support__intro,
  .support-chat { padding: 24px; }
  .member-section-head { align-items: flex-start; }
  .member-section-head button { padding: 0 12px; }
  .member-project-list { grid-template-columns: 1fr; }
  .member-project-list .project-card:nth-child(n+3) { display: none; }
  .support-message { max-width: 92%; }
  .support-suggestions { flex-wrap: nowrap; margin-right: -24px; overflow-x: auto; padding-right: 24px; }
  .support-suggestions button { flex: 0 0 auto; }
  .support-form > div { grid-template-columns: 1fr; }
  .support-form textarea { height: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .member-project-skeleton::after { animation: none; }
  .support-messages { scroll-behavior: auto; }
}

.member-home { display: none; }
body.account-home:not(.builder-focus) .member-home { display: grid; }

/* Account actions in the site header */
.account-logout {
  position: relative;
  min-height: 38px;
  padding: 0 0 0 16px;
  background: none;
  color: var(--muted);
}
.account-logout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 1px;
  height: 20px;
  background: rgba(23, 25, 27, .18);
}
.account-logout:hover { color: var(--ink); }
.account-profile:focus-visible,
.account-logout:focus-visible { outline: 3px solid #9cbe1a; outline-offset: 3px; border-radius: 7px; }

/* Saved-shirt actions */
.project-card__actions--single { grid-template-columns: 1fr; }
.project-card__actions--single .project-card__delete {
  min-height: 40px;
  border-left: 0 !important;
  text-align: left;
}
.member-project-list .project-card { display: flex; flex-direction: column; }
.member-project-list .project-card__open { flex: 1 1 auto; height: auto; }
.member-project-list .project-card__actions { flex: 0 0 auto; }
.member-project-list .project-card__actions button { background: var(--member-surface); }
.member-project-list .project-card__actions button:hover { background: var(--member-soft); color: #8f2727; }
.member-project-list .project-card button:focus-visible { outline: 3px solid #9cbe1a; outline-offset: -3px; }

/* Full-screen saved shirts gallery */
.profile-dialog {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f5f4ef;
  overflow: auto;
}
.projects-dialog__header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 14px max(24px, calc((100vw - 1400px) / 2));
  border-bottom: 1px solid rgba(23, 25, 27, .13);
  background: rgba(245, 244, 239, .94);
  backdrop-filter: blur(16px);
}
.profile-dialog .projects-dialog__identity h2 { margin: 0 0 4px; font-size: 25px; }
.profile-dialog .projects-dialog__identity p { margin: 0; font-size: 12px; line-height: 1.4; }
.projects-dialog__identity p strong { color: var(--ink); }
.projects-dialog__controls { display: flex; align-items: center; gap: 8px; }
.projects-dialog__button,
.projects-dialog__header .dialog-close {
  position: static;
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid rgba(23, 25, 27, .16);
  border-radius: 10px;
  padding: 0 15px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.projects-dialog__button:hover { border-color: var(--ink); background: #ebe9e2; }
.projects-dialog__button--primary { border-color: var(--ink); background: var(--ink); color: var(--lime); }
.projects-dialog__button--primary:hover { background: #2c3033; color: var(--lime); }
.projects-dialog__header .dialog-close { width: 42px; padding: 0; border-radius: 50%; font-size: 25px; font-weight: 500; }
.projects-dialog__header .dialog-close:hover { border-color: var(--ink); background: #ebe9e2; }
.projects-dialog__body { width: min(1400px, calc(100% - 48px)); margin: 0 auto; padding: 18px 0 56px; }
.profile-dialog .account-message { margin: 0 0 14px; }
.profile-dialog .project-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.profile-dialog .project-empty { min-height: 300px; }
.profile-dialog .project-skeleton { height: 322px; }

@media (prefers-color-scheme: dark) {
  body.account-home .account-logout { color: #b9bcb7; }
  body.account-home .account-logout:hover { color: #f4f4ef; }
  body.account-home .account-logout::before { background: rgba(255, 255, 255, .2); }
  body.account-home .profile-dialog { background: #17191b; color: #f4f4ef; }
  body.account-home .projects-dialog__header { border-color: rgba(255,255,255,.12); background: rgba(23,25,27,.94); }
  body.account-home .projects-dialog__identity p strong { color: #f4f4ef; }
  body.account-home .projects-dialog__button,
  body.account-home .projects-dialog__header .dialog-close { border-color: rgba(255,255,255,.2); color: #f4f4ef; }
  body.account-home .projects-dialog__button:hover,
  body.account-home .projects-dialog__header .dialog-close:hover { border-color: #f4f4ef; background: #2b2e31; }
  body.account-home .projects-dialog__button--primary { border-color: var(--lime); background: var(--lime); color: var(--ink); }
  body.account-home .profile-dialog .project-card { border-color: rgba(255,255,255,.13); background: #222528; }
  body.account-home .profile-dialog .project-card__open,
  body.account-home .profile-dialog .project-card__actions button { background: #222528; color: #f4f4ef; }
  body.account-home .profile-dialog .project-card__open:hover,
  body.account-home .profile-dialog .project-card__actions button:hover { background: #2b2e31; }
  body.account-home .profile-dialog .project-card__stage { background: #fff; }
  body.account-home .profile-dialog .project-card__side-label { background: #303336; color: #c3c6c1; }
  body.account-home .profile-dialog .project-card__action { color: var(--lime); }
  body.account-home .profile-dialog .project-card__delete { color: #ff9a9a; }
}

@media (max-width: 1200px) {
  .profile-dialog .project-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .profile-dialog .project-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  #header-credits,
  #open-credits { display: none; }
  .account-toolbar { min-width: 0; gap: 6px; }
  .account-profile,
  .account-logout { padding-right: 2px; padding-left: 2px; font-size: 10px !important; white-space: nowrap; }
  .account-logout { padding-left: 9px; }
  .account-logout::before { top: 10px; height: 18px; }
  .projects-dialog__header { align-items: start; min-height: 0; padding: 15px 18px; }
  .profile-dialog .projects-dialog__identity h2 { font-size: 21px; }
  .projects-dialog__identity p span[aria-hidden="true"],
  .projects-dialog__identity p strong { display: none; }
  .projects-dialog__controls { gap: 6px; }
  .projects-dialog__button { min-height: 40px; padding: 0 11px; font-size: 10px; }
  .projects-dialog__header .dialog-close { width: 40px; min-width: 40px; min-height: 40px; }
  .projects-dialog__body { width: calc(100% - 32px); padding-top: 14px; }
}

@media (max-width: 560px) {
  .profile-dialog .project-list { grid-template-columns: 1fr; }
  .projects-dialog__header { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; }
  .projects-dialog__identity { min-width: 0; }
  .projects-dialog__identity p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .projects-dialog__controls { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 40px; }
  .projects-dialog__button { width: 100%; }
}

/* Homepage shirt placeholder: scales as one unit with the shirt artwork. */
.create-shirt-preview {
  position: relative;
  display: grid;
  width: clamp(148px, 45%, 210px);
  aspect-ratio: 13 / 15;
  place-items: center;
  transition: transform .25s ease;
}

#create-shirt {
  display: contents;
}

.create-visual .create-shirt-preview svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: none;
}

.create-shirt-design {
  position: absolute;
  top: 34%;
  left: 50%;
  display: grid;
  width: 36%;
  aspect-ratio: 1;
  padding: clamp(4px, 1vw, 8px) clamp(3px, .7vw, 5px);
  place-content: center;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid rgba(23, 25, 27, .72);
  border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 2px 5px rgba(23, 25, 27, .16);
  transform: translateX(-50%);
  text-align: center;
  line-height: 1.08;
}

.create-shirt-design b {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(15px, 1.8vw, 20px);
  line-height: 1;
}

.create-shirt-design span {
  font-size: clamp(8px, .82vw, 10px);
  font-weight: 800;
  letter-spacing: -.02em;
}

.create-visual:hover .create-shirt-preview {
  transform: rotate(-4deg) scale(1.035);
}

.create-visual:hover .create-shirt-preview svg {
  transform: none;
}

@media (max-width: 700px) {
  .create-shirt-preview {
    width: clamp(148px, 54%, 180px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .create-shirt-preview {
    transition: none;
  }
}
