#student-welcome{max-width:600px;width:calc(100% - 24px);max-height:90svh;overflow:auto;background:#171515;color:#fff;border:1px solid #c6a8dd;padding:clamp(18px,4vw,30px);border-radius:18px;text-align:center;line-height:1.6}#student-welcome::backdrop{background:#000b}#student-welcome .welcome-logo{display:block;width:180px;height:auto;margin:20px auto}#student-welcome h2{font-size:clamp(28px,6vw,38px);line-height:1.2;margin:18px 0}#student-welcome h3,#student-welcome .welcome-gift-name{font-size:clamp(24px,5vw,30px);font-weight:800;line-height:1.3;margin:16px 0}#student-welcome p{font-size:18px}#student-welcome section{padding:20px 0;border-top:1px solid #685575;margin-top:22px}#student-welcome .welcome-discount{background:#dfc9ef;color:#281434;border-radius:12px;padding:20px}#student-welcome .welcome-discount strong{font-size:clamp(32px,8vw,48px);line-height:1.2}#student-welcome .welcome-code{display:block;color:#c5e1a8;font-size:30px;overflow-wrap:anywhere}#student-gift-image{width:100%;max-width:400px;height:auto;border-radius:12px}#student-welcome .welcome-coffee-symbol{font-size:64px;display:block}#student-welcome #student-email-status{font-size:14px;color:#c9c0ba}#student-welcome .button{max-width:100%;white-space:normal}

:is(#kb-student-preview,#kb-lunch-preview){padding:20px 8px;font:15px/1.45 system-ui,sans-serif;color:#fff4e8}
:is(#kb-student-preview,#kb-lunch-preview) h2,:is(#kb-student-preview,#kb-lunch-preview) h3,:is(#kb-student-preview,#kb-lunch-preview) p{margin:0;color:inherit}
:is(#kb-student-preview,#kb-lunch-preview) header{text-align:center;margin-bottom:16px}
:is(#kb-student-preview,#kb-lunch-preview) small{color:#ffc28b;letter-spacing:.11em}
:is(#kb-student-preview,#kb-lunch-preview) .offer,:is(#kb-student-preview,#kb-lunch-preview) .box{background:#291d16;border:1px solid #63442e;border-radius:14px;padding:12px;margin-top:10px}
:is(#kb-student-preview,#kb-lunch-preview) .offer{text-align:center;border-color:#ef8a37}
:is(#kb-student-preview,#kb-lunch-preview) .number{display:block;font-size:72px;line-height:1;color:#ff9d51;font-weight:800}
:is(#kb-student-preview,#kb-lunch-preview) .ids{display:grid;grid-template-columns:1fr auto 1fr;gap:7px;align-items:center;text-align:center}
:is(#kb-student-preview,#kb-lunch-preview) .ids strong{display:table;margin-inline:auto;overflow-wrap:anywhere}
:is(#kb-student-preview,#kb-lunch-preview) .coffee{display:grid;grid-template-columns:minmax(85px,34%) 1fr;gap:12px;align-items:center}
:is(#kb-student-preview,#kb-lunch-preview) img{width:100%;display:block;border-radius:9px}
:is(#kb-student-preview,#kb-lunch-preview) .month{color:#ffad68;display:block;font-size:1.3em}

:is(#kb-student-preview,#kb-lunch-preview) .ids .box{font-weight:800;color:#fff;background:#38251a}
:is(#kb-student-preview,#kb-lunch-preview) .ids strong{font-size:1.2em;margin-top:4px}
:is(#kb-student-preview,#kb-lunch-preview) .gift{display:grid;grid-template-columns:1fr minmax(78px,31%);gap:12px;align-items:center}
:is(#kb-student-preview,#kb-lunch-preview) .gift img{aspect-ratio:1;object-fit:cover}
:is(#kb-student-preview,#kb-lunch-preview) .coffee{display:block;border-color:#ef8a37}
:is(#kb-student-preview,#kb-lunch-preview) .coffee h3{text-align:center;margin:5px 0 12px;font-size:clamp(20px,5vw,30px);line-height:1.1}
:is(#kb-student-preview,#kb-lunch-preview) .coffee h3 strong{font-size:1.45em;color:#ffad68}
:is(#kb-student-preview,#kb-lunch-preview) .coffee .month{margin-top:5px;color:#fff;font-size:1em}
:is(#kb-student-preview,#kb-lunch-preview) .coffee-body{display:grid;grid-template-columns:minmax(0,min(34%,144px)) minmax(0,1fr);gap:12px;align-items:center}
:is(#kb-student-preview,#kb-lunch-preview) .threshold{display:inline-block;background:#854012;color:#fff;padding:1px 7px;border-radius:5px;white-space:nowrap}
:is(#kb-student-preview,#kb-lunch-preview) h3 .threshold{white-space:normal;padding:5px 9px}
:is(#kb-student-preview,#kb-lunch-preview) .coffee h3 strong{color:#fff}

:is(#kb-student-preview,#kb-lunch-preview) .coffee-finale{margin-top:20px;padding-top:16px;border-top:1px solid #63442e}
:is(#kb-student-preview,#kb-lunch-preview) .coffee-kicker{color:#ffc28b;text-align:center}
:is(#kb-student-preview,#kb-lunch-preview) .coffee-finale h3{font-size:clamp(24px,6vw,34px);margin:6px 0 18px}
:is(#kb-student-preview,#kb-lunch-preview) .coffee-finale h3 span{color:#ffad68}
:is(#kb-student-preview,#kb-lunch-preview) .coffee-finale figure{position:relative;margin:0}
:is(#kb-student-preview,#kb-lunch-preview) .coffee-finale img{height:auto;border-radius:14px}
:is(#kb-student-preview,#kb-lunch-preview) .coffee-gift{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);background:#ffad68;color:#2d170b;padding:4px 9px;border-radius:20px;font-weight:800;letter-spacing:.06em}
:is(#student-welcome,#club-welcome-dialog):has(:is(#kb-student-preview,#kb-lunch-preview)){box-sizing:border-box;background:#191310;border-color:#63442e;padding:0;max-width:510px;max-height:90vh;max-height:90dvh}
:is(#student-welcome,#club-welcome-dialog) :is(#kb-student-preview,#kb-lunch-preview){padding:16px;text-align:left}
:is(#student-welcome,#club-welcome-dialog) :is(#kb-student-preview,#kb-lunch-preview) header{position:static;background:none;padding:0;border:0}
:is(#student-welcome,#club-welcome-dialog) :is(#kb-student-preview,#kb-lunch-preview) h2{margin:6px 0}
:is(#student-welcome,#club-welcome-dialog) :is(#kb-student-preview,#kb-lunch-preview) p{font-size:15px}
:is(#student-welcome,#club-welcome-dialog) :is(#kb-student-preview,#kb-lunch-preview) h3{font-size:18px;line-height:1.2}
:is(#student-welcome,#club-welcome-dialog) :is(#kb-student-preview,#kb-lunch-preview) .coffee-finale h3{font-size:clamp(24px,6vw,34px)}
:is(#student-welcome,#club-welcome-dialog) :is(#kb-student-preview,#kb-lunch-preview) .ids{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
:is(#student-welcome,#club-welcome-dialog) :is(#kb-student-preview,#kb-lunch-preview) #student-close{display:block;margin:0 0 10px auto;min-height:44px}
:is(#student-welcome,#club-welcome-dialog) :is(#kb-student-preview,#kb-lunch-preview) #student-email-status{margin:16px 0 10px}

:is(#student-welcome,#club-welcome-dialog) :is(#kb-student-preview,#kb-lunch-preview){text-align:start}
:is(#student-welcome,#club-welcome-dialog) :is(#kb-student-preview,#kb-lunch-preview) #student-close{margin-inline:auto 0}

:is(#student-welcome,#club-welcome-dialog) :is(#kb-student-preview,#kb-lunch-preview) .student-dialog-actions{display:flex;justify-content:flex-end;padding-top:10px}
:is(#student-welcome,#club-welcome-dialog) :is(#kb-student-preview,#kb-lunch-preview) .student-dialog-actions #student-close{margin:0}

#kb-lunch-preview .lunch-welcome-photo{height:auto;max-height:230px;object-fit:cover;margin-bottom:10px}
#kb-lunch-preview .lunch-welcome-delivery .lunch-welcome-photo{object-fit:contain}
#kb-lunch-preview .lunch-welcome-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px}
#kb-lunch-preview .lunch-welcome-delivery .button{margin-top:12px}
#kb-lunch-preview .button{white-space:normal}
#kb-lunch-preview header{padding-inline:36px}
#kb-lunch-preview .club-popup-close{min-width:44px;min-height:44px}

#kb-lunch-preview .ids[hidden],#kb-lunch-preview .gift[hidden]{display:none}

.student-dialog-actions{flex-wrap:wrap;gap:8px;align-items:center}
