/* Isolated profile / history / order detail presentation. No catalogue selectors. */
@font-face{font-family:CS Display;src:url('/static/fonts/oswald-700.ttf') format('truetype');font-display:swap;font-weight:700}
body.culture-app #profileModal.cs-profile{--cs-ink:#260e08;--cs-muted:#72594b;--cs-red:#a81009;--cs-paper:#fff6e9;background:#eaddcd;color:var(--cs-ink)}
body.culture-app #profileModal.cs-profile>.sheet{background:radial-gradient(ellipse at 90% 0,#eee3d1 0,transparent 45%),linear-gradient(115deg,#fff7ea,#f7ecdd)!important;color:var(--cs-ink);overflow:hidden}
body.culture-app #profileModal.cs-profile [hidden],.cs-order-dialog [hidden]{display:none!important}
body.culture-app #profileModal.cs-profile .sheet__head{position:relative;flex:none;min-height:74px!important;padding:14px 58px!important;background:transparent!important;border:0!important;align-items:center!important;text-align:center;z-index:3}
body.culture-app #profileModal.cs-profile .cs-profile-wordmark{white-space:pre-line;font:700 20px/.88 'CS Display',sans-serif!important;letter-spacing:-.6px!important;text-align:center;color:#210c06}
body.culture-app #profileModal.cs-profile #profileClose,body.culture-app #profileModal.cs-profile .culture-profile-support{display:grid;place-items:center;top:18px;left:16px;width:36px;height:36px;min-height:36px;padding:7px;border-radius:13px;background:#f1e5d5;color:#260e08;border:0}
body.culture-app #profileModal.cs-profile .culture-profile-support{left:auto;right:16px;background:transparent}
body.culture-app #profileModal.cs-profile .sheet__body{position:relative;isolation:isolate;display:block!important;padding:0 16px calc(24px + env(safe-area-inset-bottom))!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none}
body.culture-app #profileModal.cs-profile .culture-profile-overview{position:relative;min-width:0}
body.culture-app #profileModal.cs-profile .culture-profile-overview::before{content:'';position:absolute;z-index:-1;pointer-events:none;right:-12px;top:0;width:180px;height:245px;background:url('/static/profile-runner-halftone.webp') right top/contain no-repeat;opacity:.75;mask-image:linear-gradient(#000 65%,transparent)}
body.culture-app #profileModal.cs-profile .cs-profile-hero{position:relative;display:flex;align-items:center;gap:12px;height:100px;padding:0 8px}
body.culture-app #profileModal.cs-profile .cs-profile-hero h1{position:relative;z-index:1;font:700 italic 48px/1 'CS Display',sans-serif!important;letter-spacing:-1px;margin:0 0 15px;color:#250805;transform:skew(-4deg)}
body.culture-app #profileModal.cs-profile .cs-profile-hero h1::after{content:'';position:absolute;left:50px;right:-10px;bottom:-10px;height:9px;border-top:3px solid #a1120c;border-bottom:2px solid #a1120c;border-radius:50%;transform:rotate(-3deg)}
body.culture-app #profileModal.cs-profile .cs-profile-crown{align-self:flex-start;display:block;width:38px;height:44px;transform:rotate(7deg);color:#a81009;margin-top:9px}
body.culture-app #profileModal.cs-profile .cs-profile-crown svg{width:100%;height:100%}
body.culture-app #profileModal.cs-profile .culture-profile-person{position:relative;width:100%;min-height:80px;padding:14px;border:1px solid #ffffffa1;border-radius:23px;background:#fff7ebed;color:#260e08;display:grid;grid-template-columns:48px minmax(0,1fr) 16px;align-items:center;gap:12px;box-shadow:0 3px 9px #4b2b1814;text-align:left}
body.culture-app #profileModal.cs-profile .culture-profile-person b{display:block;font:700 20px/1.2 'Culture UI',Arial,sans-serif;overflow-wrap:anywhere}
body.culture-app #profileModal.cs-profile .culture-profile-person small{display:block;font:400 15px/1.3 'Culture UI',Arial,sans-serif;color:#72594b;margin-top:4px}
body.culture-app #profileModal.cs-profile .culture-profile-avatar{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#e8d9c7;font-size:27px;color:#33120b}
body.culture-app #profileModal.cs-profile .culture-profile-chevron{font-size:17px;color:#33120b}
body.culture-app #profileModal.cs-profile .cs-profile-balance{position:relative;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:23px;margin:12px 0 18px;min-height:119px;padding:17px 0;background:linear-gradient(110deg,#922618ee,#ae1206ef 55%,#59180de8),url('/static/profile-coffee.webp');background-size:cover;background-position:center;color:#fff5e7}
body.culture-app #profileModal.cs-profile .cs-profile-balance::after{content:'';position:absolute;right:-22px;top:9px;width:100px;height:100px;border-radius:50%;border:5px solid #cbaa85;box-shadow:0 0 0 5px #ffebc333;background:#b27c4e url('/static/profile-coffee.webp') 66% 35%/210% auto no-repeat;pointer-events:none;opacity:.85}
body.culture-app #profileModal.cs-profile .cs-balance-half{position:relative;z-index:1;display:block;text-align:left;border:0;border-radius:0;padding:0 17px;background:transparent;color:inherit;min-width:0;cursor:pointer}
body.culture-app #profileModal.cs-profile .cs-balance-half+button{border-left:1px solid #fff5e780}
body.culture-app #profileModal.cs-profile .cs-balance-half>span{font-size:15px;font-weight:650}
body.culture-app #profileModal.cs-profile .cs-balance-half small{display:block;font-size:11px;line-height:1.3;margin-top:4px}
body.culture-app #profileModal.cs-profile .cs-balance-value{display:flex;align-items:center;gap:7px;white-space:nowrap}
body.culture-app #profileModal.cs-profile .cs-balance-value b{font:700 39px/1.25 'CS Display',sans-serif;letter-spacing:-1px}
body.culture-app #profileModal.cs-profile .cs-balance-value svg{width:28px;height:28px;flex:none}
body.culture-app #profileModal.cs-profile .culture-profile-perks{position:relative;margin-bottom:24px}
body.culture-app #profileModal.cs-profile .culture-profile-perks h2{margin:0 58px 12px 2px;font:750 21px/1.25 'Culture UI',Arial,sans-serif!important;text-transform:none}
body.culture-app #profileModal.cs-profile .cs-perks-all{position:absolute;right:2px;top:1px;display:flex;flex-direction:row-reverse;align-items:center;gap:6px;border:0;background:transparent;color:#a81009;font:600 14px/1.4 'Culture UI',Arial,sans-serif;padding:0;min-height:26px;cursor:pointer}
body.culture-app #profileModal.cs-profile .cs-perks-all svg{width:19px;height:19px}
body.culture-app #profileModal.cs-profile .culture-profile-perk-shelf{position:relative;display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin-right:-16px;padding-right:16px;scroll-padding-right:16px}
body.culture-app #profileModal.cs-profile .culture-profile-perk{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;gap:7px;flex:0 0 104px;width:104px;min-width:104px;min-height:120px;height:120px;padding:12px;border:1px solid #fff5;border-radius:18px;color:#fff9ef;text-align:left;text-decoration:none;scroll-snap-align:start;background:linear-gradient(135deg,#bb3024,#9e140b);overflow:hidden;isolation:isolate}
body.culture-app #profileModal.cs-profile .culture-profile-perk::after{content:'';position:absolute;z-index:-1;inset:0;opacity:.12;background:url('/static/profile-runner-halftone.webp') center/cover;mix-blend-mode:screen;pointer-events:none}
body.culture-app #profileModal.cs-profile .culture-profile-perk.cs-perk-1{background:linear-gradient(130deg,#76442b,#492112)}
body.culture-app #profileModal.cs-profile .culture-profile-perk.cs-perk-2{background:linear-gradient(130deg,#b58e5e,#cfab7d)}
body.culture-app #profileModal.cs-profile .culture-profile-perk.cs-perk-3{background:linear-gradient(130deg,#1e4439,#142a23)}
body.culture-app #profileModal.cs-profile .culture-profile-perk.cs-perk-4{background:linear-gradient(130deg,#745350,#3f2828)}
body.culture-app #profileModal.cs-profile .culture-perk-copy{order:1;min-height:0;gap:0}
body.culture-app #profileModal.cs-profile .culture-profile-perk b{font:650 15px/1.1 'Culture UI',Arial,sans-serif;position:relative;z-index:1}
body.culture-app #profileModal.cs-profile .culture-profile-perk small{display:none}
body.culture-app #profileModal.cs-profile .culture-profile-perk>svg{order:0;position:static!important;width:34px;height:34px;margin:0!important;min-height:34px;flex:0 0 34px!important;opacity:1}
body.culture-app #profileModal.cs-profile .culture-profile-perk .culture-perk-arrow,body.culture-app #profileModal.cs-profile .cs-perk-arrow{position:absolute;display:grid;place-items:center;right:9px;bottom:8px;width:25px;height:25px;border-radius:50%;background:#ffffff24;font:400 20px/1 Arial}
body.culture-app #profileModal.cs-profile .culture-perk-arrow svg{width:17px;height:17px}
body.culture-app #profileModal.cs-profile .cs-perk-dots{display:flex;justify-content:center;gap:6px;margin:11px 0 0}
body.culture-app #profileModal.cs-profile .cs-perk-dots button{width:6px;height:6px;min-height:6px;padding:0;border:0;border-radius:50%;background:#cdbfae;cursor:pointer}
body.culture-app #profileModal.cs-profile .cs-perk-dots button[aria-current=true]{background:#a81009}
body.culture-app #profileModal.cs-profile .cs-all-perks .culture-profile-perk-shelf{flex-wrap:wrap;margin-right:0;padding-right:0;overflow:visible}
body.culture-app #profileModal.cs-profile .cs-all-perks .cs-perk-dots{display:none}
body.culture-app #profileModal.cs-profile .cs-history-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px 2px}
body.culture-app #profileModal.cs-profile .cs-history-heading h2{font:700 25px/1.15 'CS Display',sans-serif!important;letter-spacing:-.4px;margin:0;color:#250805}
body.culture-app #profileModal.cs-profile .cs-filter-button{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #ded0bf;border-radius:12px;padding:7px;background:#fff5e7;color:#341d13;cursor:pointer}
body.culture-app #profileModal.cs-profile .cs-filter-button.is-filtered{background:#a81009;color:white}
body.culture-app #profileModal.cs-profile .cs-filter-button:disabled{opacity:.5}
body.culture-app #profileModal.cs-profile .cs-history-filters{background:#f3e8d9;padding:12px;margin-bottom:12px;border-radius:17px;font-size:12px}
body.culture-app #profileModal.cs-profile .cs-mode-filters{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px}
body.culture-app #profileModal.cs-profile .cs-mode-filters button{border:0;border-radius:16px;padding:8px 10px;background:#fff6ea;color:#3d2418;font:inherit;min-height:34px;cursor:pointer}
body.culture-app #profileModal.cs-profile .cs-mode-filters button[aria-pressed=true]{background:#a81009;color:#fff}
body.culture-app #profileModal.cs-profile .cs-history-filters label{display:flex;align-items:center;gap:8px}
body.culture-app #profileModal.cs-profile .cs-history-filters select{flex:1;min-width:0;padding:8px;border:1px solid #dfd1be;border-radius:9px;background:#fff6ea;color:#3d2418;font:inherit}
body.culture-app #profileModal.cs-profile #ordersList{display:grid;gap:8px;margin:0!important}
body.culture-app #profileModal.cs-profile .cs-order-card{padding:12px;border:1px solid #ffffff7d;border-radius:20px;background:#fff6e9df;box-shadow:0 3px 10px #5b311b0d;cursor:default;transition:none}
body.culture-app #profileModal.cs-profile .cs-order-card:hover{transform:none;box-shadow:0 3px 10px #5b311b0d}
body.culture-app #profileModal.cs-profile .cs-order-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
body.culture-app #profileModal.cs-profile .cs-order-top h3{font:750 17px/1.25 'Culture UI',Arial,sans-serif!important;margin:0;color:#260e08;overflow-wrap:anywhere}
.cs-order-status{display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:65%;border-radius:20px;padding:4px 9px;font:500 11px/1.3 'Culture UI',Arial,sans-serif;background:#f1e4cc;color:#7b4518;text-align:center}
.cs-order-status svg{width:13px;height:13px;flex:none;border-radius:50%}
.cs-status-done{color:#155719;background:#e9e9cc}.cs-status-done svg{border:1.4px solid currentColor;padding:1px}
.cs-status-cooking{color:#23499a;background:#e4e8f1}.cs-status-ready{color:#175c35;background:#ddeddc}.cs-status-cancel{color:#6c6257;background:#e9e2d9}
body.culture-app #profileModal.cs-profile .cs-order-date{font:400 12px/1.4 'Culture UI',Arial,sans-serif;color:#5c4030;margin:2px 0 10px}
body.culture-app #profileModal.cs-profile .cs-order-middle{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}
.cs-order-thumbs{display:flex;gap:5px;align-items:center;min-width:0}
.cs-order-thumb{display:grid;place-items:center;flex:none;box-sizing:border-box;width:42px;height:46px;border-radius:10px;background:#eadac6;overflow:hidden;color:#926d4f}
.cs-order-thumb img{display:block;width:100%;height:100%;object-fit:cover}.cs-order-thumb svg{width:24px;height:24px}
body.culture-app #profileModal.cs-profile .cs-order-more-count{display:grid;place-items:center;flex:none;min-width:42px;height:46px;padding:0 5px;border-radius:11px;background:#e4d7d0;font:700 14px/1 'Culture UI',Arial,sans-serif}
body.culture-app #profileModal.cs-profile .cs-order-price{font:700 22px/1.1 'CS Display',sans-serif;white-space:nowrap;color:#260e08}
body.culture-app #profileModal.cs-profile .cs-order-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
body.culture-app #profileModal.cs-profile .cs-pos-order .cs-order-actions{grid-template-columns:1fr}
.cs-primary,.cs-outline{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 8px;min-height:36px;border:1px solid #a81009;border-radius:11px;color:#fffaf2;background:linear-gradient(120deg,#a51c12,#a40805);font:600 12px/1.2 'Culture UI',Arial,sans-serif;cursor:pointer;text-decoration:none}
.cs-primary svg,.cs-outline svg{width:18px;height:18px;flex:none}.cs-outline{color:#6c2718;background:transparent;font-weight:400}.cs-primary:disabled,.cs-outline:disabled{opacity:.55;cursor:wait}
body.culture-app #profileModal.cs-profile .cs-history-empty{display:flex;flex-direction:column;align-items:center;padding:38px 22px 28px;border-radius:28px;background:#fff6e9dd;text-align:center;box-shadow:0 6px 20px #5b311b14;margin-top:8px}
body.culture-app #profileModal.cs-profile .cs-history-empty>svg{width:100px;height:100px;color:#a81009;transform:rotate(-12deg);margin:10px 0 26px;stroke-width:1}
body.culture-app #profileModal.cs-profile .cs-history-empty h3{font:750 21px/1.3 'Culture UI',Arial,sans-serif!important;margin:0 0 10px}
body.culture-app #profileModal.cs-profile .cs-history-empty p{font:400 15px/1.45 'Culture UI',Arial,sans-serif;margin:0 0 28px;white-space:pre-line;color:#624334}
body.culture-app #profileModal.cs-profile .cs-history-empty .cs-primary{width:100%;min-height:43px;font-size:14px;border-radius:13px}
body.culture-app #profileModal.cs-profile .cs-profile-feedback:empty{display:none}
body.culture-app #profileModal.cs-profile .cs-history-loading,body.culture-app #profileModal.cs-profile .cs-history-error,body.culture-app #profileModal.cs-profile .cs-profile-feedback,body.culture-app #profileModal.cs-profile .cs-filter-empty{font:400 14px/1.5 'Culture UI',Arial,sans-serif;padding:16px;border-radius:15px;background:#f3e5d5}
body.culture-app #profileModal.cs-profile .cs-link{border:0;background:transparent;text-decoration:underline;color:#a81009;font:inherit;min-height:40px;cursor:pointer}
body.culture-app #profileModal.cs-profile .culture-profile-settings{padding-top:10px}
.cs-order-dialog{box-sizing:border-box;width:min(430px,100%);max-height:90vh;max-height:90dvh;margin:auto auto 0;padding:0;border:0;border-radius:30px 30px 0 0;background:linear-gradient(120deg,#fff8ed,#faeee0);color:#260e08;box-shadow:0 10px 40px #3a1b1730;overflow:auto;overscroll-behavior:contain;font:400 14px/1.4 'Culture UI',Arial,sans-serif}
.cs-order-dialog::backdrop{background:#210b0866;backdrop-filter:blur(6px)}
.cs-order-dialog:before{content:'';display:block;width:32px;height:4px;border-radius:5px;background:#dcd1c5;margin:10px auto 4px}
.cs-detail-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:center;min-height:52px;box-sizing:border-box;padding:10px 52px;background:#fff5e9f5;border:0}
.cs-detail-head h2{margin:0;font:750 18px/1.25 'Culture UI',Arial,sans-serif!important;text-align:center;overflow-wrap:anywhere}
.cs-detail-back{position:absolute;left:10px;top:8px;display:grid;place-items:center;width:36px;height:36px;padding:8px;border:0;border-radius:12px;background:transparent;color:#260e08;cursor:pointer}
.cs-detail-back svg{width:22px;height:22px}
.cs-detail-content{padding:10px 16px calc(30px + env(safe-area-inset-bottom))}
.cs-detail-status{padding:16px 14px;background:#eee5d9;border-radius:18px;margin-bottom:22px}
.cs-detail-status .cs-order-status{max-width:100%;background:transparent;padding:0;font-size:17px;font-weight:700;justify-content:flex-start}
.cs-detail-status .cs-order-status svg{width:24px;height:24px;margin-right:5px}
.cs-detail-status p{font-size:12px;margin:4px 0 0 34px;color:#472c20}
.cs-detail-content>h3{font:750 18px/1.3 'Culture UI',Arial,sans-serif!important;margin:0 4px 10px}
.cs-detail-items{padding:4px 8px 8px;background:#fff8efb0;border-radius:18px}
.cs-detail-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:7px 0;min-width:0}
.cs-detail-item .cs-order-thumb{height:42px}
.cs-detail-item-copy{min-width:0}.cs-detail-item-copy b{font-size:13px;line-height:1.3;display:block;overflow-wrap:anywhere}
.cs-detail-item-copy small{display:block;font-size:11px;line-height:1.3;margin-top:3px;color:#6e574a;overflow-wrap:anywhere}
.cs-detail-qty{font-size:12px;color:#6a5547;white-space:nowrap}.cs-detail-item-price{font-size:13px;white-space:nowrap}
.cs-detail-more{display:flex;align-items:center;gap:9px;width:100%;padding:10px;border:0;border-radius:12px;background:#f2e8db;color:#392315;font:400 13px/1.4 'Culture UI',Arial,sans-serif;text-align:left;cursor:pointer;min-height:40px;margin-top:4px}
.cs-detail-more svg{width:18px;height:18px;flex:none}.cs-detail-more:after{content:'›';font-size:22px;margin-left:auto;color:#816f60}
.cs-detail-total{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 6px 22px;font:700 21px/1.3 'CS Display',sans-serif;border-bottom:1px solid #eaddcb}
.cs-detail-repeat{width:100%;min-height:44px;margin-top:24px;font-size:14px;border-radius:13px}
.cs-detail-feedback:empty{display:none}.cs-detail-feedback{color:#a81009;margin:12px 0;font-size:13px}.cs-detail-extra{padding:12px 4px;font-size:12px;color:#74594a}.cs-detail-extra summary{cursor:pointer;min-height:30px}.cs-muted{font-size:13px;color:#806856;line-height:1.5}
body.culture-app #profileModal.cs-profile :is(button,a,select):focus-visible,.cs-order-dialog :is(button,a,summary):focus-visible{outline:2px solid #a81009;outline-offset:3px}
@media(min-width:700px){body.culture-app #profileModal.cs-profile{align-items:center;justify-content:center;padding:20px}body.culture-app #profileModal.cs-profile>.sheet{width:430px!important;height:calc(100dvh - 40px)!important;max-height:1000px!important;border-radius:30px!important} .cs-order-dialog{margin:auto;border-radius:30px;width:min(430px,calc(100% - 32px))}}
@media(max-width:350px){body.culture-app #profileModal.cs-profile .sheet__body{padding-inline:12px!important}body.culture-app #profileModal.cs-profile .culture-profile-person b{font-size:18px}body.culture-app #profileModal.cs-profile .cs-balance-half{padding-inline:12px}body.culture-app #profileModal.cs-profile .cs-balance-value b{font-size:32px}body.culture-app #profileModal.cs-profile .cs-order-thumb,body.culture-app #profileModal.cs-profile .cs-order-more-count{width:35px;min-width:35px;height:40px}body.culture-app #profileModal.cs-profile .cs-order-price{font-size:20px}body.culture-app #profileModal.cs-profile .cs-order-actions{gap:6px}.cs-primary,.cs-outline{font-size:11px;gap:4px;padding-inline:5px}.cs-detail-item{gap:6px}.cs-detail-item-price{font-size:12px}}

@media(max-width:350px){body.culture-app #profileModal.cs-profile .culture-profile-perk-shelf{margin-right:-12px;padding-right:12px}}

/* Small carousel dots retain a comfortable pointer target. */
body.culture-app #profileModal.cs-profile .cs-perk-dots{gap:0;margin-top:4px;margin-bottom:-7px}
body.culture-app #profileModal.cs-profile .cs-perk-dots button{display:grid;place-items:center;width:22px;height:22px;min-height:22px;background:transparent}
body.culture-app #profileModal.cs-profile .cs-perk-dots button::after{content:'';display:block;width:6px;height:6px;border-radius:50%;background:#cdbfae}
body.culture-app #profileModal.cs-profile .cs-perk-dots button[aria-current=true]{background:transparent}
body.culture-app #profileModal.cs-profile .cs-perk-dots button[aria-current=true]::after{background:#a81009}

.cs-profile-logout{display:block;margin:4px 0 4px auto;min-height:44px;padding:10px 4px;border:0;background:transparent;color:#9e0504;font-family:inherit;font-size:13px;font-weight:500;line-height:1.4;cursor:pointer}.cs-profile-logout:focus-visible{outline:2px solid #9e0504;outline-offset:2px}.cs-profile-logout:disabled{opacity:.5}
