/* T&L Companion App: responsive overrides. Keep this stylesheet last. */
@media(max-width:1100px){.clock-strip{
  justify-content: flex-start;
  margin-left: 0;
}.clock-pill{
  min-width: 110px;
}}

@media(max-width:1100px){.grid{
  grid-template-columns: 1fr;
}.event-row{
  grid-template-columns: 75px 1fr;
}.time{
  font-size: 18px;
}.timer-form .timer-duration-grid{
  grid-template-columns: repeat(3,minmax(0,1fr));
}}

@media(max-width:760px){.pinned-card-resize-grip{
  display: none !important;
}.pinned-active-slot.multi-mode .card{
  width: 100% !important;
  height: auto !important;
  flex-basis: 100% !important;
  max-height: none;
}.pinned-active-slot.multi-mode .card.is-pinned .section-title{
  cursor: default;
  touch-action: auto;
}.pinned-active-slot.multi-mode .card.is-pinned .section-title h2::after{
  content: "";
}}
@media(max-width:760px){.pinned-workspace{
  width: calc(100vw - 20px) !important;
  height: calc(100vh - 20px) !important;
  min-width: 0;
  min-height: 0;
  max-width: calc(100vw - 20px);
  max-height: calc(100vh - 20px);
}.pinned-workspace-head{
  align-items: flex-start;
  flex-direction: column;
}.pinned-head-actions{
  width: 100%;
  justify-content: stretch;
}.pinned-head-actions button{
  flex: 1;
}.pinned-active-wrap{
  max-height: none;
}.pinned-tab{
  flex: 1 1 auto;
  justify-content: center;
}.pin-launcher{
  right: 12px;
  bottom: 12px;
}.pinned-resize-handle,.reset-pin-size-btn{
  display: none !important;
}}
@media(max-width:760px){
  .footer.card{
  min-height: 104px;
  padding-right: 118px;
  text-align: left;
}
  .footer.card::before{
  right: 8px;
  top: 50%;
  bottom: auto;
  width: 76px;
  height: 58px;
  transform: translateY(-50%);
  opacity: .52;
}
}
@media(max-width:760px){
  .event-row{
  grid-template-columns: 1fr !important;
  gap: 8px;
  padding: 12px 6px;
}
  .event-row .time{
  font-size: 18px;
}
  .event-row .items{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
  .event-row .chip,.event-row .event-chip{
  width: fit-content;
  max-width: 100%;
}
  .event-row .chip .nm{
  font-size: 14px !important;
}
}


/* Drag + side-column polish: easier pinned card reorder and balanced side rails */
@media(min-width:1101px){

  .left-col{
  min-height: var(--side-rail-height,auto);
}
  .right-col{
  min-height: var(--side-rail-height,auto);
}
  .left-col .manual-timers,.right-col .discord-card{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
  .left-col .manual-timers .pad,.right-col .discord-card .pad{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
  .left-col .manual-timers .pad{
  padding-top: 10px;
  padding-bottom: 10px;
}
  .left-col .manual-timers .mini{
  line-height: 1.35;
}
  .left-col .manual-timers input,.left-col .manual-timers button{
  padding-top: 7px;
  padding-bottom: 7px;
}
  .left-col .manual-timers label{
  margin-top: 6px;
}
  .right-col .discord-card textarea{
  flex: 1 1 auto;
  min-height: 170px;
}
}
@media(max-width:760px){.tw-title-row .tw-flip-btn{
  padding-inline: 9px;
  font-size: 11px;
}.tw-location-modal{
  width: 100%;
  max-height: 88vh;
}.tw-location-note{
  font-size: 12px;
}}


/* Emergency Mango Fund support button */
.support-donate-btn:hover,.support-donate-btn:focus-visible{
  border-color: #ffcf4a;
  box-shadow: inset 0 0 0 1px rgba(255,207,74,.18),0 0 20px rgba(255,207,74,.22),0 0 20px rgba(255,139,93,.10);
  transform: translateY(-1px);
  outline: none;
}@media(max-width:980px){.support-donate-btn{
  order: 3;
  width: 100%;
  align-items: center;
  text-align: center;
}.top{
  align-items: flex-start;
}}@media(max-width:560px){.support-donate-btn{
  min-height: 40px;
  padding: 7px 10px;
}.support-title{
  font-size: 12px;
}}

@media(max-width:1100px){.support-donate-btn{
  width: auto;
  min-width: min(320px,100%);
}.schedule-date-controls{
  padding-right: 0;
}.schedule-actions{
  width: 100%;
  justify-content: flex-start;
}.schedule-clock-strip{
  justify-content: flex-start;
}}
@media(max-width:760px){.day-night-card .section-title{
  padding-right: 10px;
}}

.header-calendar-clock .clock-strip{
  justify-content: center;
  margin-left: 0;
  width: auto;
}
.header-calendar-clock .clock-pill{
  text-align: center;
}

.top-right-utility .support-donate-btn{
  width: 100%;
  min-width: 0;
  margin-left: 0;
  align-items: center;
  text-align: center;
}


@media(max-width:760px){

  .schedule-head-main{
  min-width: 0;
}
  .schedule-actions{
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 34px 34px;
  grid-template-areas: "filter alarm pin";
  gap: 8px;
  width: 100%;
  align-items: center;
  justify-content: stretch;
  margin-left: 0;
}
  .schedule-actions .calendar-filter-dropdown{
  grid-area: filter;
  width: 100%;
  min-width: 0;
}
  .schedule-actions #bossAlarmBtn{
  grid-area: alarm;
  justify-self: end;
}
  .schedule-actions .calendar-pin-btn{
  grid-area: pin;
  justify-self: end;
}

  .header-calendar-clock .clock-strip{
  width: 100%;
  justify-content: center;
}
}
.support-donate-btn{
  border: 1px solid rgba(216,189,132,.54);
  color: #fff7d8;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.045),0 0 18px rgba(255,207,74,.12);
  transition: border-color .16s ease,box-shadow .16s ease,transform .16s ease,background .16s ease;
  margin-left: 0;
  width: 78px !important;
  min-width: 78px !important;
  height: 74px !important;
  min-height: 74px !important;
  padding: 7px 6px !important;
  border-radius: 16px !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  text-align: center !important;
  white-space: normal !important;
  background: linear-gradient(135deg,rgba(69,42,84,.9),rgba(36,27,48,.96)) !important;
  border-color: rgba(216,189,132,.54) !important;
}


.top-right-utility .time-format-select{
  min-width: 96px !important;
}
@media(max-width:1100px){

  .brand{
  left: 10px;
  top: -14px;
  width: 270px;
}
  body::before{
  background-position: 50% 50%;
  background-size: min(88vw,940px) auto;
  opacity: .05;
}


  .top-right-utility .time-format-select{
  min-width: 88px !important;
  padding: 8px 9px !important;
  font-size: 12px !important;
}
}
@media(max-width:760px){

  .brand{
  left: 4px;
  top: -10px;
  width: 230px;
}
  body::before{
  background-position: 50% 50%;
  background-size: min(105vw,820px) auto;
  opacity: .045;
}
  .support-donate-btn{
  width: 58px !important;
  min-width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 5px !important;
  border-radius: 14px !important;
}


  .schedule-date-controls input{
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 8px 10px !important;
  font-size: 13px !important;
}


}
@media(max-width:430px){
  .schedule-date-controls button{
  font-size: 11px !important;
  padding-inline: 2px !important;
}
  #prevBtn::first-letter,#nextBtn::first-letter{
  font-size: 12px;
}
  .schedule-title{
  font-size: 22px !important;
}
  .clock-pill{
  min-width: 108px !important;
}
}


/* Keep time format with the clock stack instead of crowding the support button */

.header-calendar-clock .time-format-select{
  min-width: 94px !important;
  padding: 8px 10px !important;
}

@media(max-width:760px){.header-calendar-clock .time-format-select{
  min-width: 82px !important;
  font-size: 12px !important;
  padding: 7px 8px !important;
}}

@media(max-width:480px){.timer-time-edit-grid{
  grid-template-columns: 1fr 1fr;
}.timer-time-edit-grid label:last-child{
  grid-column: 1/-1;
}.app-time-input-datetime{
  grid-template-columns:minmax(0,1fr) 70px;
}.app-time-input-datetime .app-time-date{
  grid-column:1/-1;
}.app-time-input-datetime.is-24-hour{
  grid-template-columns:1fr;
}}
@media(max-width:760px){
  .active-timer-grid{
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
}
  .active-timer-grid .timer-item{
  padding: 8px !important;
}
  .active-timer-grid .timer-top{
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 3px !important;
}
  .active-timer-grid .timer-name{
  font-size: 12px !important;
  line-height: 1.15 !important;
  word-break: break-word;
}
  .active-timer-grid .timer-remain{
  font-size: 12px !important;
}
  .active-timer-grid .mini{
  font-size: 10px !important;
  line-height: 1.25 !important;
}
  .active-timer-grid .timer-actions{
  margin-top: 6px !important;
}
}
@media(max-width:390px){.active-timer-grid{
  grid-template-columns: 1fr !important;
}}


.format-choice:not(.active):hover{
  color: rgba(255,247,216,.78) !important;
}

@media(min-width:1101px){
  .left-col,.right-col{
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-content: stretch;
  min-height: var(--side-rail-height,auto) !important;
}
}


/* Mobile header, calendar, and clock-format layout */
@media(max-width:760px){

  .schedule-clock-strip{
  width: auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 6px !important;
}
  .schedule-clock-strip .clock-pill{
  min-width: 104px !important;
  padding: 7px 8px !important;
}


  #scheduleNextCountdown{
  grid-area: next !important;
  font-size: 11px !important;
  min-height: 0 !important;
  display: none !important;
}
}
a.support-donate-btn,
a.support-donate-btn:any-link,
a.support-donate-btn:visited,
a.support-donate-btn:hover,
a.support-donate-btn:focus-visible,
a.support-donate-btn *,
a.support-donate-btn:hover *,
a.support-donate-btn:focus-visible *{
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-thickness: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none;
}
a.support-donate-btn:hover,
a.support-donate-btn:focus-visible{
  box-shadow: inset 0 0 0 1px rgba(255,207,74,.18),0 0 20px rgba(255,207,74,.22),0 0 20px rgba(255,139,93,.10) !important;
}


.format-toggle{
  display: inline-grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4px !important;
  padding: 4px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(216,189,132,.36) !important;
  background: linear-gradient(180deg,rgba(31,25,44,.92),rgba(18,14,28,.96)) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035),0 0 12px rgba(0,0,0,.22) !important;
}


@media(max-width:760px){
  .time-format-control{
  justify-content: center !important;
  gap: 3px !important;
}
  .format-label{
  font-size: 9px !important;
}
  .format-toggle{
  padding: 3px !important;
  border-radius: 12px !important;
}

}


/* Support button, format toggle, flip return, active timer pin, and mobile inline pins */
.support-donate-btn,
.support-donate-btn:hover,
.support-donate-btn:focus-visible,
.support-donate-btn *{
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
}


.support-logo{
  display: block;
  -webkit-mask: url("../ui/embedded-ui-2.png") center/contain no-repeat;
  mask: url("../ui/embedded-ui-2.png") center/contain no-repeat;
  width: 64px !important;
  height: 46px !important;
  flex: 0 0 auto !important;
  background: #ffe39a !important;
  filter: drop-shadow(0 0 8px rgba(255,207,74,.34)) !important;
}
.support-title{
  display: block !important;
  font-size: 12px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: #ffe39a !important;
  text-shadow: 0 0 9px rgba(255,207,74,.22) !important;
}
@media(max-width:760px){

  .support-logo{
  width: 47px !important;
  height: 34px !important;
}
  .support-title{
  font-size: 10px !important;
  letter-spacing: .04em !important;
}
}


button.format-toggle:hover,
button.format-toggle:focus-visible{
  border-color: #8b6fbd !important;
  outline: none !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),0 0 13px rgba(139,111,189,.18) !important;
}


@media(max-width:760px){
  button.format-toggle{
  min-width: 96px !important;
  height: 34px !important;
  border-radius: 12px !important;
  padding: 3px !important;
}
  .format-choice{
  min-width: 41px !important;
  border-radius: 8px !important;
  height: 26px !important;
  font-size: 11px !important;
  padding: 0 6px !important;
}
}
@media(max-width:760px){
  .mobile-pinned-slot:not([hidden]){
  display: grid !important;
  gap: 12px !important;
  margin: 0 0 14px !important;
}
  .mobile-pinned-slot .card{
  width: 100% !important;
  margin: 0 !important;
}
  .pinned-workspace,.pinned-backdrop,.pin-launcher{
  display: none !important;
}
  body.pinned-overlay-open{
  overflow: auto !important;
}
}
.header-calendar-clock{
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: start !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 12px !important;
  width: auto !important;
  min-width: 0 !important;
}
.header-calendar-clock .schedule-clock-strip{
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  width: auto !important;
  gap: 8px !important;
}
.top-right-utility{
  gap: 10px !important;
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: stretch !important;
  align-self: start !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto auto !important;
  justify-items: end !important;
  align-items: start !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
}


button.support-donate-btn,
button.support-donate-btn *,
button.support-donate-btn:hover,
button.support-donate-btn:hover *,
button.support-donate-btn:focus-visible,
button.support-donate-btn:focus-visible *{
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
}


.time-format-control{
  white-space: nowrap;
  line-height: 1 !important;
  display: inline-grid !important;
  grid-template-rows: auto auto !important;
  justify-items: center !important;
  align-items: center !important;
  gap: 4px !important;
  min-width: 96px !important;
  flex: 0 0 auto !important;
}
.format-label{
  text-shadow: none !important;
  font-family: "Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans","Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Arial,sans-serif !important;
  color: var(--muted) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}
button.format-toggle{
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035),0 0 12px rgba(0,0,0,.22) !important;
  width: 98px !important;
  min-width: 98px !important;
  height: 38px !important;
  border-radius: 12px !important;
  border: 1px solid var(--line) !important;
  padding: 4px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 3px !important;
  background: linear-gradient(180deg,rgba(31,25,44,.94),rgba(18,14,28,.98)) !important;
  cursor: pointer !important;
}
.format-choice{
  border: 0 !important;
  box-shadow: none !important;
  display: grid !important;
  place-items: center !important;
  height: 28px !important;
  min-width: 0 !important;
  padding: 0 8px !important;
  border-radius: 9px !important;
  color: rgba(238,231,255,.42) !important;
  background: transparent !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: .035em !important;
  line-height: 1 !important;
  pointer-events: none !important;
}
.format-choice.active{
  background: linear-gradient(90deg,rgba(216,189,132,.38),rgba(143,91,197,.34)) !important;
  color: #fff7d8 !important;
  box-shadow: 0 0 0 1px rgba(216,189,132,.55),0 0 12px rgba(216,189,132,.18) !important;
}
.format-choice:not(.active){
  color: rgba(238,231,255,.42) !important;
  filter: saturate(.75) brightness(.76) !important;
}


@media(max-width:1100px){
  .top{
  flex-direction: column;
  align-items: start !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  gap: 12px !important;
}
  .top-right-utility{
  align-self: start;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto auto !important;
  align-items: flex-start !important;
  gap: 7px !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: stretch !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
}
  .header-calendar-clock{
  justify-content: center !important;
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  justify-self: center !important;
  margin-top: 4px !important;
}
}
@media(max-width:760px){
  .app{
  padding: 10px;
  padding-top: 32px !important;
}
  .top{
  position: relative !important;
  min-height: 78px !important;
}
  .mobile-game-clock{
  display: inline-grid !important;
  position: fixed !important;
  top: 6px !important;
  left: 7px !important;
  z-index: 1200 !important;
  grid-template-rows: auto auto !important;
  gap: 0 !important;
  min-width: 76px !important;
  padding: 4px 7px 5px !important;
  border: 1px solid rgba(216,189,132,.40) !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg,rgba(29,24,42,.92),rgba(13,10,22,.94)) !important;
  box-shadow: 0 5px 18px rgba(0,0,0,.45),0 0 12px rgba(216,189,132,.10) !important;
  color: #fff7d8 !important;
  pointer-events: none !important;
}
  .mobile-game-clock span{
  font-size: 8px !important;
  line-height: 1 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted) !important;
}
  .mobile-game-clock b{
  font-size: 12px !important;
  line-height: 1.2 !important;
  color: #fff7d8 !important;
}
  .header-calendar-clock{
  grid-template-columns: 1fr !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 7px !important;
  display: none !important;
}


  .schedule-head{
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto 36px 36px !important;
  grid-template-areas: "title view alarm pin" "date date date date" "filter filter filter filter" !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px !important;
}
  .schedule-head-main,.schedule-actions{
  display: contents !important;
}
  .schedule-title{
  font-size: clamp(23px,7vw,32px) !important;
  line-height: 1.12 !important;
  grid-area: title !important;
  align-self: center !important;
  min-width: 0 !important;
}
  .schedule-date-controls{
  padding-right: 0 !important;
  min-width: 0 !important;
  grid-area: date !important;
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 6px !important;
  padding: 0 !important;
}
  .schedule-date-controls #datePicker{
  display: none !important;
}
  .schedule-date-controls button{
  line-height: 1.1 !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 8px 2px !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}
  .calendar-filter-dropdown{
  grid-area: filter !important;
  width: 100% !important;
  min-width: 0 !important;
}
  .calendar-filter-trigger{
  width: 100% !important;
  min-width: 0 !important;
}
  .calendar-filter-menu{
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}
  .calendar-view-toggle{
  position: static !important;
  grid-area: view !important;
  justify-self: end !important;
  align-self: center !important;
}
  #bossAlarmBtn{
  grid-area: alarm !important;
  justify-self: end !important;
  align-self: center !important;
  margin: 0 !important;
  z-index: 30 !important;
}
  .calendar-pin-btn{
  grid-area: pin !important;
  justify-self: end !important;
  align-self: center !important;
  margin: 0 !important;
  z-index: 30 !important;
}
  .daily-calendar{
  padding: 8px !important;
}
  .daily-calendar-row{
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  min-height: 84px !important;
  padding: 12px 8px !important;
}
  .daily-calendar-slot{
  min-height: 34px !important;
}
}


/* Desktop header spacing and support border stability */
@media(min-width:1101px){
  .top{
  grid-template-columns: minmax(280px,330px) minmax(0,1fr) minmax(300px,340px) !important;
  align-items: end !important;
  margin-bottom: 12px !important;
  min-height: 100px !important;
}
  .brand,
  .header-calendar-clock,
  .top-right-utility{
  align-self: end !important;
}
  .header-calendar-clock{
  justify-self: end !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
  .top-right-utility{
  align-items: flex-end !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto auto !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  justify-self: stretch !important;
}
}


/* Compact mobile support button */


@media(max-width:760px){
  button.support-donate-btn{
  gap: 2px !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 3px !important;
  border-radius: 11px !important;
}
  button.support-donate-btn .support-logo{
  width: 30px !important;
  height: 21px !important;
}
  button.support-donate-btn .support-title{
  letter-spacing: .04em !important;
  font-size: 5.8px !important;
  line-height: .98 !important;
}
}


/* Support Me border and hover treatment */
button.support-donate-btn{
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  color: #ffe39a !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 50 !important;
  outline: 0 !important;
  background-clip: padding-box !important;
  text-decoration-line: none !important;
  transform: none !important;
  overflow: hidden !important;
  text-decoration: none !important;
  background: linear-gradient(145deg,rgba(86,45,101,.98),rgba(33,24,47,.98)) padding-box,
    linear-gradient(180deg,rgba(255,207,74,.92),rgba(138,112,77,.78)) border-box !important;
  width: 48px !important;
  min-width: 48px !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 3px 3px 4px !important;
  gap: 1px !important;
  border-radius: 12px !important;
  border: 1.5px solid #d8bd84 !important;
  box-shadow: 0 0 0 1px rgba(216,189,132,.82),
    inset 0 0 0 1px rgba(255,247,216,.08),
    0 0 14px rgba(216,189,132,.24) !important;
  transition: transform .16s ease,border-color .16s ease,box-shadow .16s ease,filter .16s ease !important;
}
button.support-donate-btn:hover,
button.support-donate-btn:focus-visible{
  outline: 0 !important;
  border: 1px solid transparent !important;
  background: linear-gradient(145deg,rgba(92,49,111,.99),rgba(35,25,50,.99)) padding-box,
    linear-gradient(180deg,#ffcf4a,#b7955d) border-box !important;
  transform: translateY(-2px) !important;
  border-color: #ffcf4a !important;
  box-shadow: 0 0 0 1px rgba(255,207,74,.98),
    inset 0 0 0 1px rgba(255,247,216,.12),
    0 10px 22px rgba(0,0,0,.38),
    0 0 18px rgba(255,207,74,.42) !important;
  filter: brightness(1.04) !important;
}
button.support-donate-btn:active{
  transform: translateY(0) !important;
}


@media(max-width:760px){.site-footer.footer.card{
  padding-right: 174px !important;
}.legal-links{
  gap: 7px 10px !important;
}.legal-link{
  font-size: 12px !important;
}}


@media(max-width:760px){
  .tw-title-row{
  padding: 0 10px !important;
  gap: 6px !important;
}
  .tw-title-row .section-actions{
  grid-template-columns: 96px 32px 32px !important;
  flex-basis: 176px !important;
  gap: 6px !important;
}
  .tw-title-row .section-actions .tw-flip-btn{
  width: 96px !important;
  min-width: 96px !important;
  font-size: 10px !important;
  height: 32px !important;
}
  .tw-title-row .section-actions .alarm-btn,.tw-title-row .section-actions .pin-btn{
  width: 32px !important;
  height: 32px !important;
}
  .tw-map-btn{
  min-width: 46px !important;
  padding-inline: 8px !important;
  font-size: 11px !important;
}
}

@media(max-width:760px){
  .talking-wall-card .tw-title-row,
  .talking-wall-card .juno-title-row{
  grid-template-columns: minmax(70px,1fr) auto !important;
  min-height: 70px !important;
  padding: 24px 10px 0 10px !important;
  gap: 6px !important;
}
  .talking-wall-card .tw-title-row h2,
  .talking-wall-card .juno-title-row h2{
  font-size: 14.5px !important;
  max-width: 84px !important;
}
  .talking-wall-card .juno-title-row h2{
  font-size: 14px !important;
  max-width: none !important;
}
  .talking-wall-card .tw-title-row .section-actions,
  .talking-wall-card .juno-title-row .section-actions{
  flex-basis: 176px !important;
  grid-template-columns: 84px 31px 31px !important;
  min-width: 158px !important;
  max-width: 158px !important;
  height: 31px !important;
  gap: 6px !important;
}
  .talking-wall-card .tw-title-row .tw-flip-btn,
  .talking-wall-card .juno-title-row .tw-flip-btn{
  width: 84px !important;
  min-width: 84px !important;
  max-width: 84px !important;
  height: 31px !important;
  font-size: 9px !important;
  padding: 0 5px !important;
}
  .talking-wall-card .tw-title-row .alarm-btn,
  .talking-wall-card .tw-title-row .pin-btn,
  .talking-wall-card .juno-title-row .alarm-btn,
  .talking-wall-card .juno-title-row .pin-btn{
  width: 31px !important;
  height: 31px !important;
}
}
@media(max-width:760px){
  .talking-wall-card .tw-face-wall > .tw-title-row,
  .talking-wall-card .tw-face-juno > .juno-title-row{
  top: 24px !important;
  left: 10px !important;
  right: 10px !important;
  grid-template-columns: minmax(84px,1fr) 158px !important;
  height: 31px !important;
  min-height: 31px !important;
  gap: 6px !important;
}
  .talking-wall-card .tw-face-wall > .tw-title-row h2{
  font-size: 14.5px !important;
  max-width: 84px !important;
}
  .talking-wall-card .tw-face-juno > .juno-title-row h2{
  font-size: 14px !important;
  max-width: none !important;
}
  .talking-wall-card .tw-face-wall > .tw-title-row .section-actions,
  .talking-wall-card .tw-face-juno > .juno-title-row .section-actions{
  grid-template-columns: 84px 31px 31px !important;
  width: 158px !important;
  min-width: 158px !important;
  max-width: 158px !important;
  height: 31px !important;
  gap: 6px !important;
}
  .talking-wall-card .tw-face-wall > .tw-title-row .tw-flip-btn,
  .talking-wall-card .tw-face-juno > .juno-title-row .tw-flip-btn{
  width: 84px !important;
  min-width: 84px !important;
  max-width: 84px !important;
  height: 31px !important;
  font-size: 9px !important;
  padding: 0 5px !important;
}
  .talking-wall-card .tw-face-wall > .tw-title-row .alarm-btn,
  .talking-wall-card .tw-face-wall > .tw-title-row .pin-btn,
  .talking-wall-card .tw-face-juno > .juno-title-row .alarm-btn,
  .talking-wall-card .tw-face-juno > .juno-title-row .pin-btn{
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  max-width: 31px !important;
}
  .talking-wall-card .tw-face-wall > .pad.tw-flow,
  .talking-wall-card .tw-face-juno > .pad.tw-flow{
  padding-top: 78px !important;
}
}
button.support-donate-btn .support-logo{
  flex: 0 0 auto !important;
  width: 33px !important;
  height: 23px !important;
  background: #ffe39a !important;
  background-color: #ffe39a !important;
  opacity: 1 !important;
  filter: brightness(1.18) drop-shadow(0 0 8px rgba(255,227,154,.55)) drop-shadow(0 1px 0 rgba(0,0,0,.25)) !important;
}


/* Support logo brightness */
button.support-donate-btn .support-logo,
button.support-donate-btn:hover .support-logo,
button.support-donate-btn:focus-visible .support-logo{
  color: #ffe39a !important;
  background: #ffe39a !important;
  background-color: #ffe39a !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  -webkit-mask-mode: alpha !important;
  mask-mode: alpha !important;
  filter: brightness(1.35) contrast(1.08) drop-shadow(0 0 8px rgba(255,227,154,.62)) drop-shadow(0 1px 0 rgba(0,0,0,.25)) !important;
}
button.support-donate-btn .support-title{
  display: block !important;
  font-weight: 950 !important;
  text-decoration: none !important;
  font-size: 6.4px !important;
  line-height: 1 !important;
  letter-spacing: .03em !important;
  text-shadow: 0 0 7px rgba(255,207,74,.40),0 1px 0 rgba(0,0,0,.35) !important;
  color: #ffe39a !important;
}
@media(max-width:640px){.app-update-banner{
  bottom: 10px;
  align-items: stretch;
  flex-direction: column;
  padding: 11px 12px;
  gap: 10px;
}.app-update-actions{
  justify-content: flex-end;
}.app-update-actions button{
  padding: 8px 11px;
}}
@media(max-width:640px){.tw-manual-reset-notice{
  bottom: 10px;
  flex-direction: column;
}.tw-manual-reset-notice button{
  align-self: flex-end;
}}

@media (max-width:480px){
  .brand{
  left: 2px;
  top: -6px;
  width: 205px;
}
  body::before{
  background-position: 50% 50%;
  background-size: min(120vw,720px) auto;
  opacity: .04;
}
}

@media(max-width:760px){.cycle-current{
  padding: 12px;
}.cycle-orb{
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}.cycle-countdown-inline{
  font-size: 16px;
}.cycle-row{
  grid-template-columns: minmax(0,1fr) auto;
}}

@media(max-width:700px){
  .site-migration-overlay{
  align-items: start;
  padding: 12px;
}
  .site-migration-dialog{
  margin: auto 0;
  padding: 20px 16px;
  border-radius: 18px;
}
  .site-migration-logo{
  width: min(290px,88%);
  max-height: 96px;
}
  .site-migration-dialog p{
  font-size: 13px;
}
  .site-migration-dialog .site-migration-lead{
  font-size: 15px;
}
  .site-migration-transfer-list{
  grid-template-columns: 1fr;
  gap: 7px;
}
  .site-migration-actions{
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}
  .site-migration-btn{
  width: 100%;
  min-height: 46px;
}
}


/* Friends of Throne Watch now occupies the footer space immediately left of the signature artwork. */

/* Mobile header utility alignment: Name Forge left, Updates and Support right.
   Moon positioning and interaction are intentionally untouched. */
@media(max-width:760px){
  .top{
    grid-template-columns:1fr !important;
    grid-template-rows:auto auto !important;
    min-height:132px !important;
  }

  .top-right-utility{
    grid-column:1 / -1 !important;
    grid-row:2 !important;
    align-self:end !important;
    justify-self:stretch !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto auto !important;
    align-items:end !important;
    justify-items:end !important;
    gap:7px !important;
    width:100% !important;
    margin-top:8px !important;
    padding-inline:2px !important;
  }

  .top-right-utility > .name-forge-launch{
    justify-self:start !important;
    margin-right:0 !important;
  }

  .top-right-utility > .updates-center-btn,
  .top-right-utility > .support-donate-btn{
    justify-self:end !important;
  }
}
