/* 출석부 전용 CSS. 기존 페이지 스타일에 영향을 주지 않도록 .sgatt-scope로 범위를 제한합니다. */
/* 단독 미리보기용: 기존 팝업에 넣을 때 아래 body 규칙과 preview 클래스는 생략 가능합니다. */
body.attendance-preview { margin:0; padding:24px; background:#080914; }
.attendance-preview > .sgatt-scope { max-width:1080px; margin:0 auto; }
.sgatt-scope { --font:"Apple SD Gothic Neo","Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; --bg:#080914; }
.sgatt-scope h2 { margin:6px 0 0; }
.sgatt-scope [hidden] { display:none!important; }
.sgatt-scope {
  --panel:#121320;
   --line:#282938;
   --muted:#9092a8;
   --purple:#e2c282;
   --text:#fbf9f4;
   color:var(--text);
  font:14px/1.5 var(--font);
}
.sgatt-scope h1,
.sgatt-scope h2,
.sgatt-scope p {
  padding:0;
}
.sgatt-scope * {
  box-sizing:border-box
}
.sgatt-scope button,
.sgatt-scope a {
  -webkit-tap-highlight-color:transparent
}
.sgatt-scope button {
  font:inherit;
  color:inherit;
  cursor:pointer
}
.sgatt-scope a {
  color:inherit;
  text-decoration:none
}
.sgatt-scope button:focus-visible,
.sgatt-scope a:focus-visible,
.sgatt-scope summary:focus-visible {
  outline:2px solid #ecd7ad;
  outline-offset:4px
}
.sgatt-scope .sgatt-eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:2px;
  color:#ceb88d
}
.sgatt-scope .sgatt-eyebrow span {
  display:inline-block;
  background:#e6ca93;
  width:5px;
  height:5px;
  border-radius:50%;
  margin:0 8px 2px 0
}
.sgatt-scope .sgatt-stats {
  margin:22px 0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  padding:22px 0;
  background:#11121e;
  border:1px solid var(--line);
  border-radius:12px
}
.sgatt-scope .sgatt-stats>div {
  display:flex;
  align-items:center;
  gap:18px;
  padding:0 33px;
  border-right:1px solid var(--line)
}
.sgatt-scope .sgatt-stats>div:last-child {
  border:0
}
.sgatt-scope .sgatt-stat-icon {
  font-size:25px;
  border:1px solid #5c4e33;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#2e2718;
  color:#dbc599
}
.sgatt-scope .sgatt-stats small {
  color:var(--muted);
  font-size:12px;
  display:block;
  margin-bottom:3px
}
.sgatt-scope .sgatt-stats strong {
  font-size:25px;
  font-weight:700;
  line-height:1.3
}
.sgatt-scope .sgatt-stats em {
  font-size:14px;
  font-style:normal;
  margin-left:5px;
  font-weight:500;
  color:#d9c8a7
}
.sgatt-scope .sgatt-stats strong i {
  font-weight:400;
  font-size:11px;
  color:#6f6f83;
  font-style:normal;
  margin-left:12px
}
.sgatt-scope .sgatt-stats strong i.sgatt-lavender {
  color:#d1bd94
}
.sgatt-scope .sgatt-content-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:22px
}
.sgatt-scope .sgatt-panel {
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:14px
}
.sgatt-scope .sgatt-calendar {
  padding:25px 28px 18px
}
.sgatt-scope .sgatt-calendar-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px
}
.sgatt-scope h2 {
  font-size:19px;
  letter-spacing:-.5px;
  margin:6px 0 0
}
.sgatt-scope .sgatt-calendar-head .sgatt-eyebrow,
.sgatt-scope .sgatt-section-head .sgatt-eyebrow {
  font-size:8px;
  color:#928398
}
.sgatt-scope .sgatt-month-picker {
  display:flex;
  gap:15px;
  align-items:center
}
.sgatt-scope .sgatt-month-picker strong {
  font-size:19px;
  letter-spacing:.3px
}
.sgatt-scope .sgatt-month-picker button {
  width:29px;
  height:29px;
  background:#1b1c2b;
  border:1px solid #333342;
  border-radius:7px;
  font-size:20px;
  line-height:20px;
  color:#d0bb90
}
.sgatt-scope .sgatt-week,
.sgatt-scope .sgatt-days {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr))
}
.sgatt-scope .sgatt-week {
  margin-bottom:9px;
  text-align:center;
  font-size:12px;
  color:#8b879c
}
.sgatt-scope .sgatt-week span:first-child {
  color:#da8798
}
.sgatt-scope .sgatt-week span:last-child {
  color:#8a9ed3
}
.sgatt-scope .sgatt-days {
  gap:7px
}
.sgatt-scope .sgatt-day {
  min-height:77px;
  border:1px solid #262735;
  border-radius:8px;
  background:#151622;
  position:relative;
  padding:7px 10px
}
.sgatt-scope .sgatt-day .number {
  font-size:11px;
  color:#cbb486
}
.sgatt-scope .sgatt-day.sgatt-sunday .number {
  color:#cc8292
}
.sgatt-scope .sgatt-day.sgatt-saturday .number {
  color:#8499ca
}
.sgatt-scope .sgatt-day.sgatt-empty {
  border:0;
  background:transparent
}
.sgatt-scope .sgatt-day.sgatt-future {
  opacity:.5
}
.sgatt-scope .sgatt-day.sgatt-done {
  background:linear-gradient(145deg,#352c1b,#2c2518);
  border-color:#574a31
}
.sgatt-scope .sgatt-stamp {
  font-size:8px;
  color:#e1cda5;
  position:absolute;
  left:50%;
  top:23px;
  transform:translateX(-50%) rotate(-12deg);
  width:38px;
  height:38px;
  border:1px solid #bfa269;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  line-height:1.1;
  box-shadow:inset 0 0 0 3px #2d2618,inset 0 0 0 4px #94783f
}
.sgatt-scope .sgatt-stamp b {
  font-size:16px
}
.sgatt-scope .sgatt-day.sgatt-today-cell {
  border-color:#e6cb96;
  background:#39301e;
  box-shadow:inset 0 0 0 1px #d9b979
}
.sgatt-scope .sgatt-today-label {
  position:absolute;
  right:6px;
  top:8px;
  font-size:7px;
  color:#ecd7ad;
  letter-spacing:1px
}
.sgatt-scope .sgatt-today-mark {
  display:block;
  text-align:center;
  color:#f1e1c2;
  font-size:19px;
  line-height:1;
  margin-top:3px
}
.sgatt-scope .sgatt-day small {
  display:block;
  text-align:center;
  color:#c7af7e;
  font-size:8px;
  margin-top:4px
}
.sgatt-scope .sgatt-legend {
  display:flex;
  align-items:center;
  gap:17px;
  border-top:1px solid #272735;
  padding-top:16px;
  margin-top:16px;
  color:#bea166;
  font-size:9px
}
.sgatt-scope .sgatt-legend>span {
  display:flex;
  align-items:center;
  gap:5px
}
.sgatt-scope .sgatt-legend i {
  width:7px;
  height:7px;
  display:inline-block;
  border-radius:50%
}
.sgatt-scope .sgatt-done-key {
  background:#cab281
}
.sgatt-scope .sgatt-today-key {
  border:1px solid #e8d09f
}
.sgatt-scope .sgatt-reward-key {
  color:#dcc18e;
  font-size:14px;
  font-style:normal;
  line-height:6px
}
.sgatt-scope .sgatt-legend .sgatt-timezone {
  margin-left:auto;
  font-size:8px;
  color:#68677c
}
.sgatt-scope .sgatt-today {
  padding:25px 24px 20px;
  text-align:center;
  position:relative;
  overflow:hidden;
  background:radial-gradient(ellipse at 50% 35%,#3f362366,transparent 65%),#201c13
}
.sgatt-scope .sgatt-today-top {
  display:flex;
  justify-content:space-between;
  align-items:center
}
.sgatt-scope .sgatt-today-top .sgatt-eyebrow {
  font-size:8px;
  letter-spacing:1px;
  color:#c4ab77
}
.sgatt-scope .sgatt-live-pill {
  font-size:8px;
  color:#e9d6af;
  border:1px solid #816e48;
  border-radius:20px;
  padding:3px 7px;
  background:#39301e
}
.sgatt-scope .sgatt-check-icon {
  width:56px;
  height:56px;
  border:1px solid #c6ac79;
  border-radius:17px;
  display:grid;
  place-items:center;
  margin:25px auto 17px;
  background:linear-gradient(135deg,#c8b080,#665532);
  color:#faf5ea;
  font-size:34px;
  box-shadow:0 0 25px #e6cc9718,inset 0 0 0 4px #ffffff09
}
.sgatt-scope .sgatt-today h2 {
  font-size:22px
}
.sgatt-scope .sgatt-today p {
  font-size:12px;
  color:#ceb88b;
  line-height:1.7;
  margin:10px 0 18px
}
.sgatt-scope .sgatt-daily-points {
  padding:12px;
  background:#0d0d1780;
  border:1px solid #3f3624;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:17px
}
.sgatt-scope .sgatt-daily-points small {
  font-size:10px;
  color:#c5ab78
}
.sgatt-scope .sgatt-daily-points strong {
  font-size:25px;
  color:#f0dfbe
}
.sgatt-scope .sgatt-daily-points strong span {
  font-size:14px
}
.sgatt-scope .sgatt-primary {
  border:1px solid #e9d1a0;
  border-radius:8px;
  background:linear-gradient(105deg,#d9b97a,#bf9e5b);
  height:47px;
  width:100%;
  color:white;
  font-weight:700;
  font-size:13px;
  box-shadow:0 5px 20px #b3914e20
}
.sgatt-scope .sgatt-primary:hover {
  filter:brightness(1.1)
}
.sgatt-scope .sgatt-primary span {
  margin-left:12px
}
.sgatt-scope .sgatt-primary:disabled {
  cursor:default;
  background:#413825;
  border-color:#6d5d3e;
  color:#d7c6a3;
  box-shadow:none
}
.sgatt-scope .sgatt-once {
  display:block;
  font-size:12px;
  color:#73687f;
  margin-top:12px
}
.sgatt-scope .sgatt-next-reward {
  border:1px solid #4f442d;
  background:linear-gradient(115deg,#2f2718,#211c13);
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:13px;
  padding:17px;
  margin-top:16px
}
.sgatt-scope .sgatt-gift-icon {
  display:grid;
  place-items:center;
  width:42px;
  flex:0 0 42px
}
.sgatt-scope .sgatt-gift-icon img {
  width:42px;
  height:42px;
  display:block
}
.sgatt-scope .sgatt-next-reward small {
  font-size:12px;
  color:#c5ab77;
  display:block
}
.sgatt-scope .sgatt-next-reward strong {
  display:block;
  font-size:14px;
  margin:3px 0
}
.sgatt-scope .sgatt-next-reward strong b {
  color:#ecd8af
}
.sgatt-scope .sgatt-next-reward div>span {
  font-size:12px;
  color:#bc9e62
}
.sgatt-scope .sgatt-next-reward div>span b {
  color:#d1bd94
}
.sgatt-scope .sgatt-next-reward>span:last-child {
  margin-left:auto;
  color:#c0a46b
}
.sgatt-scope .sgatt-deposit-gauge {
  margin-top:16px;
  padding:16px;
  border:1px solid #4f442d;
  border-radius:12px;
  background:#211c13;
}
.sgatt-scope .sgatt-deposit-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.sgatt-scope .sgatt-deposit-row small {
  font-size:12px;
  color:#c5ab77;
}
.sgatt-scope .sgatt-deposit-row strong,
.sgatt-scope .sgatt-deposit-row b {
  font-size:13px;
  font-weight:700;
  color:#fbf9f4;
}
.sgatt-scope .sgatt-gauge {
  height:10px;
  margin:10px 0;
  border-radius:999px;
  background:#3b3221;
  overflow:hidden;
}
.sgatt-scope .sgatt-gauge span {
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#ddb86f,#ecd8af);
}
.sgatt-scope .sgatt-deposit-gauge.is-met .sgatt-gauge span {
  background:linear-gradient(90deg,#a08245,#f1e2c4);
}
.sgatt-scope .sgatt-deposit-gauge.is-met .sgatt-deposit-row b {
  color:#f1e2c4;
}
.sgatt-scope .sgatt-rewards {
  padding:25px 28px;
  margin-top:22px
}
.sgatt-scope .sgatt-section-head {
  display:flex;
  justify-content:space-between;
  align-items:center
}
.sgatt-scope .sgatt-section-head>span {
  font-size:10px;
  color:#c4aa75
}
.sgatt-scope .sgatt-section-head>span b {
  color:#f0e0c1
}
.sgatt-scope .sgatt-reward-track {
  display:flex;
  flex-wrap:nowrap;
  gap:10px;
  margin-top:23px
}
.sgatt-scope .sgatt-reward-card {
  position:relative;
  flex:1 1 0;
  min-width:0;
  background:#221e16;
  border:1px solid #473d28;
  border-radius:10px;
  text-align:center;
  padding:17px 8px 13px
}
.sgatt-scope .sgatt-reward-card.sgatt-reached {
  background:#2f2819;
  border-color:#7f6d48
}
.sgatt-scope .sgatt-reward-card.sgatt-next {
  border-color:#d2b57c;
  background:linear-gradient(135deg,#372e1c,#2a2417)
}
.sgatt-scope .sgatt-reward-card.sgatt-next:before {
  content:"NEXT REWARD";
  position:absolute;
  top:-8px;
  left:50%;
  transform:translateX(-50%);
  white-space:nowrap;
  font-size:7px;
  letter-spacing:1px;
  background:#caae77;
  border-radius:4px;
  padding:2px 9px;
  color:white
}
.sgatt-scope .sgatt-reward-card>small {
  font-size:10px;
  color:#decfb2
}
.sgatt-scope .sgatt-reward-emblem {
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:linear-gradient(135deg,#dfcfae,#826f49);
  color:#f9f3e7;
  font-family:Georgia;
  font-weight:bold;
  font-size:22px;
  margin:10px auto 7px;
  border:2px solid #d6c49f;
  box-shadow:inset 0 0 0 2px #94783f
}
.sgatt-scope .sgatt-reward-card:last-child .sgatt-reward-emblem {
  background:linear-gradient(135deg,#ebd9b5,#957545);
  border-color:#d1b47d;
  color:#ffe9c0
}
.sgatt-scope .sgatt-reward-card strong {
  font-size:18px;
  display:block
}
.sgatt-scope .sgatt-reward-card strong span {
  font-size:11px;
  color:#d6c4a1
}
.sgatt-scope .sgatt-reward-card button {
  font-size:9px;
  width:100%;
  padding:6px;
  border-radius:5px;
  margin-top:12px;
  background:#332d20;
  border:1px solid #605236;
  color:#d4c19c
}
.sgatt-scope .sgatt-reward-card button:disabled {
  cursor:default;
  background:#28241c;
  border-color:#413825;
  color:#71697d
}
.sgatt-scope .sgatt-reward-hint {
  font-size:12px;
  color:#bc9e62;
  margin:14px 4px 0
}
.sgatt-scope .sgatt-rules {
  margin-top:20px;
  padding:0 26px
}
.sgatt-scope .sgatt-rules summary {
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  padding:20px 0;
  font-size:12px;
  color:#dbcbab
}
.sgatt-scope .sgatt-rules summary::-webkit-details-marker {
  display:none
}
.sgatt-scope .sgatt-rules summary i {
  font-style:normal;
  color:#ba9c5f
}
.sgatt-scope .sgatt-rules:not([open]) summary i {
  transform:rotate(180deg)
}
.sgatt-scope .sgatt-rules>div {
  border-top:1px solid #312d24;
  padding:12px 0 20px;
  position:relative
}
.sgatt-scope .sgatt-rules p {
  font-size:10px;
  color:#bea168;
  margin:7px 0
}
.sgatt-scope .sgatt-rules p.sgatt-demo-note {
  color:#cfb98e;
  margin-top:14px
}
.sgatt-scope .sgatt-rules button {
  font-size:9px;
  background:transparent;
  border:0;
  color:#ccb587;
  margin:6px 0 0;
  padding:0
}
.sgatt-scope #sgatt-toast {
  position:fixed;
  bottom:28px;
  left:50%;
  transform:translate(-50%,20px);
  background:#3d3423;
  border:1px solid #b79756;
  color:#f5eedf;
  padding:12px 24px;
  border-radius:9px;
  z-index:100;
  opacity:0;
  pointer-events:none;
  transition:.25s;
  max-width:90%;
  text-align:center;
  font-size:12px
}
@media(max-width:1000px) {
.sgatt-scope .sgatt-content-grid {
  grid-template-columns:minmax(0,1fr) 265px;
  gap:15px
}
.sgatt-scope .sgatt-calendar {
  padding:20px 18px
}
.sgatt-scope .sgatt-day {
  padding:6px;
  min-height:74px
}
.sgatt-scope .sgatt-stats>div {
  padding:0 18px;
  gap:12px
}
.sgatt-scope .sgatt-stats strong i {
  display:none
}
.sgatt-scope .sgatt-legend {
  gap:12px
}
.sgatt-scope .sgatt-legend .sgatt-timezone {
  display:none
}
.sgatt-scope .sgatt-today {
  padding:23px 18px
}
.sgatt-scope .sgatt-today-top {
  gap:5px
}
}
@media(max-width:760px) {
.sgatt-scope .sgatt-stats {
  padding:16px 0;
  margin:16px 0
}
.sgatt-scope .sgatt-stats>div {
  padding:0 12px;
  gap:0
}
.sgatt-scope .sgatt-stat-icon {
  display:none
}
.sgatt-scope .sgatt-stats small {
  font-size:9px
}
.sgatt-scope .sgatt-stats strong {
  font-size:21px
}
.sgatt-scope .sgatt-stats em {
  font-size:11px
}
.sgatt-scope .sgatt-content-grid {
  display:flex;
  flex-direction:column-reverse;
  gap:16px
}
.sgatt-scope .sgatt-today {
  padding:17px;
  display:grid;
  grid-template-columns:48px 1fr 140px;
  gap:0 12px;
  text-align:left;
  align-items:center
}
.sgatt-scope .sgatt-today-top {
  grid-column:1/-1;
  margin-bottom:15px
}
.sgatt-scope .sgatt-check-icon {
  width:45px;
  height:45px;
  font-size:27px;
  margin:0;
  grid-row:2/4
}
.sgatt-scope .sgatt-today h2 {
  font-size:17px;
  margin:0
}
.sgatt-scope .sgatt-today p {
  font-size:10px;
  margin:2px 0;
  grid-column:2
}
.sgatt-scope .sgatt-today p br {
  display:none
}
.sgatt-scope .sgatt-daily-points {
  display:none
}
.sgatt-scope .sgatt-today .sgatt-primary {
  grid-column:3;
  grid-row:2/4;
  font-size:11px;
  height:43px
}
.sgatt-scope .sgatt-once {
  display:none
}
.sgatt-scope .sgatt-next-reward {
  display:none
}
.sgatt-scope .sgatt-popup-intro {
  flex-wrap:wrap
}
.sgatt-scope .sgatt-intro-rewards {
  flex:1 1 100%
}
.sgatt-scope .sgatt-intro-rewards .sgatt-reward-card {
  flex:1 1 0;
  max-width:none;
}
.sgatt-scope .sgatt-calendar {
  padding:20px 14px 16px
}
.sgatt-scope .sgatt-calendar-head {
  margin-bottom:20px
}
.sgatt-scope h2 {
  font-size:17px
}
.sgatt-scope .sgatt-calendar-head .sgatt-eyebrow {
  font-size:7px
}
.sgatt-scope .sgatt-month-picker {
  gap:10px
}
.sgatt-scope .sgatt-month-picker strong {
  font-size:17px
}
.sgatt-scope .sgatt-month-picker button {
  width:25px;
  height:26px
}
.sgatt-scope .sgatt-days {
  gap:5px
}
.sgatt-scope .sgatt-day {
  min-height:68px;
  padding:5px
}
.sgatt-scope .sgatt-day .number {
  font-size:10px
}
.sgatt-scope .sgatt-today-label {
  font-size:6px;
  right:4px;
  top:7px
}
.sgatt-scope .sgatt-stamp {
  width:32px;
  height:32px;
  font-size:6px;
  top:24px
}
.sgatt-scope .sgatt-stamp b {
  font-size:12px
}
.sgatt-scope .sgatt-day small {
  font-size:7px
}
.sgatt-scope .sgatt-today-mark {
  font-size:16px;
  margin-top:8px
}
.sgatt-scope .sgatt-legend {
  font-size:8px;
  gap:14px
}
.sgatt-scope .sgatt-rewards {
  padding:20px 15px;
  margin-top:16px
}
.sgatt-scope .sgatt-section-head>span {
  font-size:8px
}
.sgatt-scope .sgatt-section-head .sgatt-eyebrow {
  font-size:7px
}
.sgatt-scope .sgatt-section-head h2 {
  font-size:16px
}
.sgatt-scope .sgatt-reward-track {
  grid-template-columns:repeat(2,1fr);
  gap:15px 10px
}
.sgatt-scope .sgatt-reward-card {
  padding:13px 10px 10px
}
.sgatt-scope .sgatt-reward-card strong {
  font-size:17px
}
.sgatt-scope .sgatt-reward-hint {
  font-size:9px;
  line-height:1.8
}
.sgatt-scope .sgatt-rules {
  padding:0 17px;
  margin-top:16px
}
.sgatt-scope .sgatt-rules p {
  font-size:9px;
  line-height:1.8
}
}
@media(prefers-reduced-motion:reduce) {
.sgatt-scope * {
  scroll-behavior:auto!important;
  transition:none!important
}
}
.sgatt-scope .sgatt-day {
  min-width:0;
}
.sgatt-scope #sgatt-attendance {
  width:100%;
  margin:0;
  padding:0;
}
.sgatt-scope .sgatt-popup-intro {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:18px 22px;
  background:linear-gradient(110deg,#322a1a,#262013);
  border:1px solid #5c4f34;
  border-radius:12px;
}
.sgatt-scope .sgatt-popup-intro h2 {
  margin:5px 0;
  font-size:21px;
}
.sgatt-scope .sgatt-popup-intro p {
  margin:0;
  color:#d4c099;
  font-size:11px;
}
.sgatt-scope .sgatt-popup-copy {
  flex:0 0 auto;
  max-width:240px;
}
.sgatt-scope .sgatt-intro-rewards {
  flex:1 1 auto;
  min-width:0;
  margin-left:auto;
}
.sgatt-scope .sgatt-intro-rewards .sgatt-reward-track {
  margin-top:8px;
  gap:8px;
  justify-content:flex-end;
}
.sgatt-scope .sgatt-intro-rewards .sgatt-reward-card {
  flex:0 1 132px;
  max-width:150px;
  padding:16px 6px 10px;
}
.sgatt-scope .sgatt-intro-rewards .sgatt-reward-emblem {
  width:30px;
  height:30px;
  font-size:18px;
  margin:6px auto 4px;
}
.sgatt-scope .sgatt-intro-rewards .sgatt-reward-card strong {
  font-size:15px;
}
.sgatt-scope .sgatt-intro-rewards .sgatt-reward-card button {
  margin-top:8px;
  font-size:12px;
}
.sgatt-scope .sgatt-popup-badge {
  border:1px solid #a98949;
  border-radius:20px;
  padding:6px 12px;
  color:#e3d3b2;
  font-size:9px;
  letter-spacing:1px;
  white-space:nowrap;
  flex:0 0 auto;
}
.sgatt-scope .sgatt-stats {
  margin:14px 0;
  padding:14px 0;
}
.sgatt-scope .sgatt-stats>div {
  padding:0 18px;
  gap:12px;
}
.sgatt-scope .sgatt-content-grid {
  grid-template-columns:minmax(0,1fr) 260px;
  gap:14px;
}
.sgatt-scope .sgatt-calendar {
  padding:18px;
}
.sgatt-scope .sgatt-calendar-head {
  margin-bottom:17px;
}
.sgatt-scope .sgatt-day {
  min-height:68px;
}
.sgatt-scope .sgatt-today {
  padding:18px;
}
.sgatt-scope .sgatt-rewards {
  padding:18px;
  margin-top:14px;
}
.sgatt-scope .sgatt-rules {
  margin-top:14px;
}
.sgatt-scope #sgatt-toast {
  display:none;
  position:static;
  max-width:none;
  transform:none;
  opacity:1;
  margin:12px 0 0;
  padding:10px 15px;
  text-align:left;
}
@media(max-width:760px) {
.sgatt-scope .sgatt-popup-intro {
  padding:13px 14px;
}
.sgatt-scope .sgatt-popup-intro h2 {
  font-size:16px;
}
.sgatt-scope .sgatt-popup-intro p {
  font-size:9px;
}
.sgatt-scope .sgatt-popup-badge {
  display:none;
}
.sgatt-scope .sgatt-stats>div {
  padding:0 9px;
}
.sgatt-scope .sgatt-stats strong {
  font-size:20px;
}
.sgatt-scope .sgatt-today {
  grid-template-columns:35px 1fr 112px;
  padding:13px;
  gap:0 9px;
}
.sgatt-scope .sgatt-check-icon {
  width:34px;
  height:38px;
  font-size:23px;
}
.sgatt-scope .sgatt-today h2 {
  font-size:15px;
}
.sgatt-scope .sgatt-today p {
  font-size:9px;
}
.sgatt-scope .sgatt-today .sgatt-primary {
  font-size:10px;
}
.sgatt-scope .sgatt-calendar {
  padding:14px 9px;
}
.sgatt-scope .sgatt-day {
  min-height:65px;
}
.sgatt-scope .sgatt-days {
  gap:4px;
}
}

@media(max-width:760px) { body.attendance-preview { padding:12px; } }
.mp-pane[data-mp-pane="attendance"] .sgatt-scope { max-width:100%; }
.mp-pane[data-mp-pane="attendance"] .sgatt-primary:disabled { opacity:.55; cursor:default; }
