html[data-brand="devin"][data-view-state="redeem"] {
  & .redeem-notice {
    display:flex;
    align-items:center;
    gap:12px;
    background:var(--tint);
    color:var(--text);
    border-color:color-mix(in srgb, var(--accent-ink) 22%, var(--surface));
  }
  & .redeem-notice::before {
    content:"i";
    display:grid;
    place-items:center;
    width:19px;
    height:19px;
    flex:none;
    border:1.5px solid var(--accent-ink);
    border-radius:50%;
    color:var(--accent-ink);
    font:700 13px/1 Georgia,serif;
  }
  & #account-check .account-box {align-items:center;}
  & #brand-guide .official-link {display:inline-flex;padding:6px 12px;text-decoration:none;}
  & footer.wrap {margin-top:8px;}
}
@media (min-width:1000px) {
  html[data-brand="devin"][data-view-state="redeem"] {
    & .wrap {width:min(1570px,calc(100% - 48px));}
    & .workspace {display:grid;grid-template-columns:clamp(212px,17.2vw,278px) minmax(0,1fr);gap:clamp(20px,1.9vw,30px);}
    & .mast h1 {font-size:clamp(36px,3.2vw,52px);}
    & .side {padding:18px 14px;}
    & .side a {font-size:clamp(15px,1.1vw,18px);padding:12px;}
    & #panel {padding:clamp(20px,1.4vw,24px) clamp(22px,2.6vw,42px);}
    & .redeem-grid {grid-template-columns:minmax(0,1.95fr) minmax(0,1fr);gap:clamp(18px,1.8vw,30px);}
    & .panel-head h2 {font-size:clamp(26px,2vw,32px);}
    & .panel-head p, & .redeem-notice, & .member-steps, & .control input,
    & .control .button, & #account-check .account-box, & .account-cta, & #brand-guide li {
      font-size:clamp(14px,1.1vw,18px);
    }
    & #channels .channel {min-height:54px;font-size:clamp(16px,1.25vw,20px);}
    & .member-steps {margin:18px 0;}
    & .control input, & .control .button, & .account-cta {min-height:48px;}
    & #brand-guide {padding:18px 20px;}
    & #brand-guide h3, & #brand-guide li strong, & #account-title {font-size:clamp(16px,1.23vw,20px);}
    & #brand-guide li {padding:0 0 20px 38px;line-height:1.6;}
    & #brand-guide li:last-child {padding-bottom:0;}
    & #brand-guide .official-link {font-size:inherit;}
    & #account-check {margin-top:24px;}
    & #account-check .account-box {min-height:100px;}
  }
}

.reference-account{margin-top:22px!important;padding-top:0!important;border:0!important;}
.reference-account label{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px;font-size:20px!important;line-height:1.5;font-weight:700;margin:0 0 12px!important;}
.reference-account label small{font-size:16px;font-weight:400;color:var(--quiet);}
.reference-account .reference-choice{padding:2px 12px;color:var(--accent-ink);background:var(--tint);border-radius:10px;}
.reference-account textarea{box-sizing:border-box;display:block;width:100%;min-height:152px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;font-size:18px;line-height:1.5;resize:vertical;}
.reference-account p{font-size:16px!important;line-height:1.6;margin:8px 0 16px!important;color:var(--quiet);}
.reference-account .reference-helper{margin:0 0 14px!important;}
.reference-account .reference-submit{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;margin-top:18px;padding:10px 18px;border:0;border-radius:10px;background:var(--accent);color:#fff;font:700 20px/1.5 inherit;cursor:pointer;}
.reference-account .reference-feedback:empty{display:none;}
.reference-account .reference-feedback{font-size:14px!important;}
html[data-view-state="redeem"] main{font-family:Arial,"Microsoft YaHei",sans-serif;}
.reference-account .reference-submit{font-family:inherit;font-size:22px;font-weight:700;line-height:1.5;}
#brand-guide .reference-guide p{font-size:18px!important;line-height:1.5;}
html[data-view-state="redeem"] #member-manual:disabled{opacity:1;}
@media(min-width:1000px){
 html[data-view-state="redeem"] main h1{font-size:48px!important;}
 html[data-view-state="redeem"] .side{padding:20px 14px;}
 html[data-view-state="redeem"] .side a,html[data-view-state="redeem"] .side button{font-size:19px!important;padding:14px 12px;}
 html[data-view-state="redeem"] .side>p{font-size:17px!important;}
 html[data-view-state="redeem"] .member-steps{font-size:18px!important;}
 html[data-view-state="redeem"] #member-check>label,html[data-view-state="redeem"] #lookup-form>label{font-size:20px!important;}
 html[data-view-state="redeem"] .channels .channel{font-size:22px!important;min-height:74px;}
 html[data-view-state="redeem"] .channels small{font-size:15px!important;}
 html[data-view-state="redeem"] footer.wrap{width:calc(100% - 40px);max-width:1570px;margin-top:8px;}
}
html[data-brand="grok"] .reference-account textarea{min-height:192px;}
html[data-brand="devin"] .reference-account textarea{min-height:170px;}
#brand-guide .reference-guide{font-size:18px;line-height:1.5;}
#brand-guide .reference-guide ol{display:block;}
#brand-guide .reference-guide li{padding-bottom:20px;}
#brand-guide .reference-guide li:last-child{padding-bottom:0;}
#brand-guide .reference-guide h3,#brand-guide .reference-guide strong{font-size:20px;}
#brand-guide .reference-guide .official-link{display:inline-flex;padding:5px 12px;font-size:17px;text-decoration:none;}
html[data-view-state="redeem"] #brand-guide{align-self:start;height:auto;}
@media(max-width:770px){
 html[data-view-state="redeem"] #lookup-form .control{display:flex;flex-wrap:wrap;}
 html[data-view-state="redeem"] #lookup-form input{width:100%;height:48px;min-height:48px;flex:none;}
 .reference-account label{font-size:18px!important;}
 .reference-account label small,.reference-account p{font-size:14px!important;}
 .reference-account textarea{font-size:16px;}
 #brand-guide .reference-guide{font-size:16px;}
 #brand-guide .reference-guide p{font-size:16px!important;}
 #brand-guide .reference-guide strong{font-size:18px;}
}
