:root {
  color-scheme: light;
  --paper: #f8f5ec;
  --white: #fffdf8;
  --ink: #172c35;
  --green: #234f42;
  --light: #e5ece1;
  --soft: #edf0e7;
  --accent: #b9462f;
  --focus: #2d6158;
  --muted: #4c5e5e;
  --line: #d9d8ca;
  --action: #234f42;
  --action-hover: #173b31;
  --field: #fffefb;
  --field-line: #89958a;
  --tile: #e9eee3;
  --tile-border: #cdd8c8;
  --tile-emphasis: #dce8db;
  --tile-guide: #f2ead7;
  --tile-join: #f4e5d9;
  --badge: #f1dfcf;
  --badge-ink: #77331d;
  --display: "Noto Serif TC","Songti TC","PMingLiU",serif;
  --sans: "Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif;
}
:root[data-site-light="dusk"] {
  --paper: #f1e5d9;
  --white: #fff6eb;
  --ink: #342820;
  --green: #704631;
  --light: #efdfcf;
  --soft: #f7ebdf;
  --focus: #785144;
  --muted: #63554b;
  --line: #d7c6b6;
  --action: #754832;
  --action-hover: #623b28;
  --field: #fffbf4;
  --field-line: #a18775;
  --tile: #f8e9d9;
  --tile-border: #d7bca5;
  --tile-emphasis: #eed9c8;
  --tile-guide: #f0dfc5;
  --tile-join: #eed7c9;
  --badge: #eed9ca;
  --badge-ink: #743e27;
}
:root[data-site-light="night"] {
  color-scheme: dark;
  --paper: #142535;
  --white: #1c3142;
  --ink: #ecf1f2;
  --green: #b5d3ef;
  --light: #2d455e;
  --soft: #243b51;
  --accent: #ffae94;
  --focus: #b5d3ef;
  --muted: #b8cbd1;
  --line: #486171;
  --action: #345a7b;
  --action-hover: #3e6788;
  --field: #182c3d;
  --field-line: #718aa0;
  --tile: #223a50;
  --tile-border: #4c6379;
  --tile-emphasis: #2b4560;
  --tile-guide: #293d53;
  --tile-join: #35394d;
  --badge: #31485f;
  --badge-ink: #d1e3f6;
  --error-surface: #432d35;
}

*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.68 var(--sans)}main{min-height:60vh}a{color:var(--green);text-underline-offset:.22em}img{display:block;max-width:100%;height:auto}h1,h2,h3,p,figure{margin-top:0}h1,h2,h3{line-height:1.23;letter-spacing:.025em}h1,h2{font-family:var(--display);font-weight:800}h3{font-size:1.15rem}p:last-child{margin-bottom:0}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,canvas:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.wrap{width:min(1152px,calc(100% - 76px));margin-inline:auto}.narrow{max-width:740px}.reading{max-width:800px}.top{border-bottom:1px solid var(--line);background:var(--paper)}.bar{height:80px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-family:var(--display);font-size:1.24rem;font-weight:900;line-height:1.05;display:inline-flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;white-space:nowrap}.brand small{display:block;font:700 .67rem/1.12 var(--sans);letter-spacing:.14em;margin-top:5px}.mark{position:relative;width:35px;height:35px;border-radius:50%;background:var(--action);display:inline-flex;align-items:center;justify-content:center;gap:2px;transform:rotate(-19deg)}.mark i{width:4px;background:#f1eedf;height:18px;border-radius:4px}.mark i:nth-child(2){height:23px}.mark i:last-child{height:12px}.bar nav{display:flex;align-items:center;gap:clamp(15px,4.25vw,45px)}.bar nav a{font-weight:700;font-size:.94rem;color:var(--ink);text-decoration:none;white-space:nowrap}.bar nav a:hover{text-decoration:underline}
.button{display:inline-flex;align-items:center;justify-content:center;gap:.4em;padding:.79rem 1.2rem;background:var(--action);color:white;border:1px solid var(--green);border-radius:5px;font:700 .96rem/1.42 var(--sans);text-decoration:none;cursor:pointer;min-height:46px;max-width:100%;text-align:center}.button:hover{background:var(--action-hover)}.button.outline{color:var(--green);background:transparent}.button.outline:hover{background:var(--light)}.button.danger{background:#a33525;border-color:#a33525}.button.small{min-height:40px;padding:.52rem .85rem;font-size:.9rem}.actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.text-link{font-weight:700}
.hero{border-bottom:1px solid var(--line);overflow:hidden}.hero-grid{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;min-height:530px;gap:12px;padding-block:26px 37px}.hero-copy{z-index:1;padding:22px 0}.kicker,.tile-label{font:750 .78rem/1.45 var(--sans);letter-spacing:.16em;color:var(--green)}.kicker{display:flex;gap:.65rem;align-items:center;margin-bottom:16px}.rule{width:32px;height:2px;background:var(--accent);display:inline-block}.hero h1{font-size:clamp(2.95rem,5.1vw,5rem);line-height:1.15;margin:0 0 20px;font-weight:900;letter-spacing:-.045em}.hero h1 span{color:var(--green)}.hero p{color:var(--muted);font-size:1.08rem;margin:0 0 27px}.island{position:relative;margin:0;min-width:0}.island-link{display:block;position:relative;text-decoration:none}.island img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:10px;mix-blend-mode:multiply;transition:filter .2s ease}.island-link:hover img{filter:saturate(1.19)}.island-tag{position:absolute;right:8%;bottom:10%;background:var(--action);color:white;font-size:.9rem;border-radius:4px;padding:.36rem .72rem;box-shadow:0 3px 8px #25392832}.island-tag span{color:#f2b286}.island figcaption{text-align:right;color:var(--muted);font-size:.82rem;margin-top:9px}
.explore{padding-block:45px 68px}.section-lead{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-lead h2{margin:0;font-size:1.84rem}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.tile{color:var(--ink);display:block;border:1px solid var(--tile-border);border-radius:7px;padding:22px;text-decoration:none;background:var(--tile);min-height:154px;transition:transform .18s ease}.tile:hover,.coach-card:hover,.guide-card:hover{transform:translateY(-3px)}.tile-coach{background:var(--tile-emphasis)}.tile-guide{background:var(--tile-guide)}.tile-join{background:var(--tile-join)}.tile h2,.tile h3{font-family:var(--display);font-weight:800;font-size:1.38rem;margin:8px 0}.tile p{color:var(--muted);margin-bottom:12px}.tile-foot{color:var(--green);font-weight:750;font-size:.9rem;text-decoration:underline;text-underline-offset:.2em}
.inner{padding-block:44px 70px}.crumb{padding-top:22px;display:flex;flex-wrap:wrap;gap:8px;font-size:.86rem;color:var(--muted)}.section-head{margin-bottom:28px}.section-head h1,.profile h1,.reading h1{font-size:clamp(2rem,5vw,3.85rem);margin:0 0 12px}.section-head p,.lead{font-size:1.15rem;color:var(--muted);max-width:62ch}.meta{color:var(--muted);font-size:.9rem}.panel,.filters,.guide-card,.coach-card{background:var(--white);border:1px solid var(--line);border-radius:8px}.panel{padding:23px;margin-bottom:17px}.panel h2{font-size:1.4rem;margin-bottom:13px}.panel h3{margin-bottom:8px}.filters{display:grid;grid-template-columns:repeat(4,1fr) auto auto;align-items:end;gap:12px;padding:15px}.filters .text-link{align-self:center}.list-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-block:23px 14px}.coach-list,.guide-list{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.coach-card,.guide-card{overflow:hidden;text-decoration:none;color:var(--ink);transition:transform .18s ease}.coach-card h2,.guide-card h2{font-size:1.42rem;margin:8px 0}.card-content,.guide-card{padding:19px}.coach-image{width:100%;aspect-ratio:1.4;object-fit:cover;background:var(--light)}.photo-fallback{height:220px;background:var(--light);font:800 5rem/1 var(--display);display:grid;place-items:center;color:var(--green)}.badge,.pills span{background:var(--light);color:var(--green);display:inline-block;font-size:.82rem;font-weight:750;padding:.24rem .58rem;border-radius:3px}.badge{background:var(--badge);color:var(--badge-ink)}.pills{display:flex;gap:6px;flex-wrap:wrap}.profile-top{display:grid;grid-template-columns:1fr 1fr;gap:33px;align-items:center;margin-bottom:30px}.profile-top h1{margin-top:8px}.profile-top .button{margin-top:15px}.profile-photo{border-radius:8px;overflow:hidden}.profile-body{display:grid;grid-template-columns:1.65fr 1fr;gap:20px}.preserve{white-space:pre-wrap}.venue{border-top:1px solid var(--line);padding:15px 0}.venue:last-child{padding-bottom:0}.venue p{margin-bottom:8px}.profile iframe{border:0;width:100%;aspect-ratio:16/9}.profile dt{font-weight:750;margin-top:.65rem}.profile dd{margin-left:0}.reading h1{line-height:1.25}.byline{display:flex;gap:13px;flex-wrap:wrap;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:18px}.prose{margin-block:28px}.prose h2{margin:28px 0 12px}.prose table{border-collapse:collapse;width:100%;margin-block:15px}.prose th,.prose td{border:1px solid var(--line);padding:8px;text-align:left;vertical-align:top}.prose th{background:var(--light)}.prose pre{overflow:auto}
label{display:block;font-weight:750;color:var(--ink);min-width:0}input:not([type=checkbox]),textarea,select{width:100%;margin-top:5px;padding:.65rem .7rem;border:1px solid var(--field-line);background:var(--field);border-radius:4px;color:var(--ink);font:inherit;font-weight:400;min-height:43px}textarea{min-height:100px;resize:vertical}fieldset{min-width:0;border:0;padding:0;margin:0}legend{font-weight:750;padding:0;margin-bottom:5px}.checkboxes{display:flex;flex-wrap:wrap;gap:4px 13px}.checkboxes label{display:inline-flex;align-items:center;gap:4px;font-weight:400}.checkboxes input{accent-color:var(--green);width:1.15rem;height:1.15rem}.editor{display:grid;gap:17px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.field-hint{font-weight:400;display:block;color:var(--muted);font-size:.89rem}.venue-fields{border-top:1px solid var(--line);padding:14px 0}.notice{background:var(--light);padding:12px 15px;border-left:4px solid var(--green);border-radius:3px}.notice.error{background:var(--error-surface,#f9e7df);border-color:var(--accent)}.work-head{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.work-head .section-head{margin-bottom:14px}.work-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.admin-table{display:grid;gap:10px}.admin-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--line);flex-wrap:wrap}.admin-row strong{display:block}.footer{border-top:1px solid var(--line);padding:24px 0}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:12px}.footer-inner>div{display:flex;gap:12px;flex-wrap:wrap}.footer a{font-size:.9rem}.skip{position:absolute;left:12px;top:-1000px;background:white;padding:.6rem;z-index:99}.skip:focus{top:8px}#sign-in{min-height:60px}
@media(max-width:850px){.wrap{width:min(100% - 46px,1152px)}.hero-grid{min-height:0;gap:3px}.hero h1{font-size:clamp(2.4rem,6.2vw,4.5rem)}.hero p{font-size:1rem}.filters{grid-template-columns:repeat(2,1fr)}.coach-list,.guide-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.wrap{width:calc(100% - 32px)}.bar{height:auto;min-height:70px;padding-block:10px;flex-wrap:wrap;gap:10px}.bar nav{order:3;width:100%;justify-content:space-between;border-top:1px solid var(--line);padding-top:8px;gap:8px}.bar nav a{font-size:.86rem}.hero-grid,.profile-top,.profile-body,.form-grid{grid-template-columns:1fr}.hero-grid{padding-block:19px 21px}.hero-copy{padding:0}.desktop{display:none}.hero h1{margin-bottom:12px}.hero p{margin-bottom:17px}.island{margin-top:12px}.island figcaption{font-size:.78rem}.tiles,.coach-list,.guide-list{grid-template-columns:1fr}.tile{min-height:unset}.explore{padding-block:26px 47px}.inner{padding-block:26px 44px}.section-head{margin-bottom:21px}.profile-top{gap:16px;margin-bottom:21px}.profile-body{gap:0}.footer-inner{align-items:flex-start;flex-direction:column}.prose table{font-size:.88rem}.prose th,.prose td{padding:5px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}

.footer-copyright { color: var(--muted); font-size: .82rem; }

.venue-suggestion-details { margin-block: 1rem; }
.venue-suggestion-details > summary { min-height: 44px; gap: .65rem; }
.venue-suggestion-details > summary::-webkit-details-marker { display: none; }
.venue-suggestion-details > summary::after {
  content: '';
  width: .45rem;
  height: .45rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-.12rem) rotate(45deg);
}
.venue-suggestion-details[open] > summary::after { transform: translateY(.12rem) rotate(225deg); }
.venue-suggestion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
  margin-top: .65rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.venue-suggestion p { flex: 1 1 24rem; margin: 0; color: var(--muted); font-size: .92rem; }

.join-coach-card:hover { transform: none; }
.join-coach-links { display: grid; justify-items: start; gap: .45rem; }
.join-coach-guide { font-size: .85rem; }

@media (max-width: 600px) {
  :is(.coach-join-tiles, .sport-hub-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  :is(.coach-join-tiles, .sport-hub-grid) .tile { padding: 14px; }
}

/* The homepage navigation floats over the island. */
.island-home {
  --map-edge: clamp(16px, 4vw, 68px);
  --map-card: #fffaf0f4;
  background: #d0e3d8;
  position: relative;
}

.island-home .top {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: var(--map-edge);
  right: var(--map-edge);
  background: var(--map-header, var(--map-card));
  border: 1px solid var(--map-header-line, #29483c30);
  border-radius: 10px;
  box-shadow: 0 3px 14px #234f4214;
}

.island-home .bar {
  width: calc(100% - 36px);
  height: 62px;
}

.island-home .footer {
  position: absolute;
  z-index: 2;
  inset: auto var(--map-edge) 11px;
  padding: 0;
  border: 0;
}

.island-home .footer-inner {
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
}

.island-home .footer-inner > .brand {
  display: none;
}

.island-home .footer-inner > div {
  gap: 5px 13px;
}

.island-home .footer a {
  color: #27483d;
  font-size: .83rem;
}

.island-world {
  position: relative;
  min-height: max(600px, 100vh);
  min-height: max(600px, 100svh);
  isolation: isolate;
}

.island-heading {
  position: absolute;
  z-index: 2;
  inset: 108px var(--map-edge) auto;
  pointer-events: none;
}

.island-heading h1 {
  margin: 0;
  width: max-content;
  max-width: 100%;
  color: #183d33;
  font-size: clamp(1.28rem, 2.7vw, 2.5rem);
  letter-spacing: .04em;
  text-shadow: 0 1px 4px #e5f0e6;
}

.island-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 43% 46%, #dfebe0 0%, #d1e5da 48%, #bdd8ce 100%);
}

.island-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .42;
  background:
    repeating-radial-gradient(ellipse at 42% 47%, transparent 0 34px, #f7ffef65 35px 36px, transparent 37px 72px);
}

.island-status {
  position: absolute;
  bottom: 50px;
  left: var(--map-edge);
  z-index: 2;
  margin: 0;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  color: var(--ink);
  font-size: .8rem;
  white-space: nowrap;
}

.island-stage[data-ready] .island-status {
  display: none;
}

@media (max-width: 939px) {
  .island-status {
    bottom: 127px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.island-stage canvas,
.island-tools {
  display: none;
}

.island-stage[data-ready] canvas {
  position: absolute;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y pinch-zoom;
  cursor: var(--island-canvas-cursor, var(--sport-pointer, grab));
}

.island-stage[data-ready][data-view="overview"]:not([data-sport]) canvas {
  touch-action: pinch-zoom;
}

.island-stage[data-dragging] canvas {
  cursor: grabbing;
}

.island-stage canvas:focus-visible {
  outline-offset: -5px;
}

.island-dock {
  position: absolute;
  z-index: 3;
  bottom: 48px;
  left: 50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 20px);
}

@media (min-width: 940px) {
  .island-stage[data-view="overview"] .island-dock {
    right: var(--map-edge);
    left: auto;
    transform: none;
  }
}

.island-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.island-stage[data-ready] .island-tools {
  display: grid;
  justify-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 7px 12px 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.island-help {
  margin: 0;
  font-size: .91rem;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
}

.island-controls {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: 100%;
  border-top: 1px solid var(--line);
}

.island-controls button {
  padding: 0 11px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 5px;
  color: inherit;
  background: transparent;
  font: 750 .91rem/1.2 var(--sans);
  cursor: pointer;
}

.island-controls button:hover {
  background: var(--light);
}

.island-directory,
.island-point,
.island-coach {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--map-line, var(--green));
  background: var(--map-card);
  color: var(--map-link, var(--green));
  box-shadow: 0 3px 9px #26392926;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 800;
  white-space: nowrap;
}

.island-directory {
  padding: 0 16px;
  border-color: var(--action);
  background: var(--action);
  color: #fffefa;
}

.island-point,
.island-coach {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -100%);
  padding: 5px 11px;
}

.island-point-court { left: 66%; top: 43%; }
.island-point-guide { left: 36%; top: 44%; }

.island-coach {
  left: 58%;
  top: 59%;
  gap: 6px;
  padding-left: 5px;
  max-width: min(192px, 42vw);
  border-radius: 40px;
}

.island-coach span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.island-point::after,
.island-coach::after {
  position: absolute;
  top: calc(100% - 3px);
  left: calc(50% - 4px);
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border-right: 1px solid var(--map-line, var(--green));
  border-bottom: 1px solid var(--map-line, var(--green));
  background: var(--map-card);
  content: "";
}

.island-coach img {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  flex: 0 0 auto;
  object-fit: cover;
}

.island-point:hover,
.island-coach:hover,
.island-directory:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .island-home .top {
    top: 8px;
  }

  .island-home .bar {
    width: calc(100% - 22px);
    height: auto;
    min-height: 76px;
    padding-block: 8px;
  }

  .island-heading {
    top: 109px;
  }

  .island-dock {
    bottom: 68px;
    flex-direction: column;
    align-items: center;
  }

  .island-point {
    padding-inline: 7px;
    font-size: .84rem;
  }
}

.island-stage[data-view="overview"] [data-focus-only],
.island-stage[data-view="badminton"] [data-overview-only],
.island-stage[data-sport][data-ready] [data-overview-only] {
  display: none;
}

.island-point-main { left: 50%; top: 45%; }
.role-student { left: 39%; top: 57%; }
.role-host { left: 37%; top: 64%; }
.satellite-fitness { left: 18%; top: 44%; --island-color:#48625d; }
.satellite-basketball { left: 33%; top: 31%; --island-color:#a64f32; }
.satellite-pickleball { left: 67%; top: 31%; --island-color:#3e7184; }
.satellite-swimming { left: 82%; top: 44%; --island-color:#276e8a; }
.satellite-yoga { left: 79%; top: 65%; --island-color:#79594c; }
.satellite-running { left: 50%; top: 74%; --island-color:#416744; }
.satellite-baseball { left: 21%; top: 65%; --island-color:#8d522e; }

.satellite {
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  line-height: 1.13;
  border-color: var(--island-color);
  color: var(--island-color);
}

.satellite small {
  font-size: .71rem;
  font-weight: 700;
}

.satellite[aria-current="page"] {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.island-point-main {
  --island-main-color: var(--action);
  border-color: var(--island-main-color);
  background: var(--island-main-color);
  color: white;
}

.island-point-main:is(:hover, :focus-visible) { --island-main-color: var(--action-hover); }

.island-point-main::after {
  border-color: var(--island-main-color);
  background: var(--island-main-color);
}

.role {
  cursor: pointer;
}

.island-stage[data-ready] .role-student { transform: translate(-112%, -120%); }
.island-stage[data-ready] .role-host { transform: translate(-15%, -65%); }
@media (max-width: 600px) {
  .island-stage[data-ready] .role-host { transform: translate(calc(-100% - 8px), -45%); }
}
.role-student { color: #275a67; }
.role-host { color: #9a462f; }

.map-return {
  background: var(--map-card);
  color: var(--map-link, var(--green));
}

.island-popover,
.island-preview {
  max-width: min(calc(100% - 28px), 440px);
  color: var(--ink);
}

.island-popover {
  position: fixed;
  padding: 21px;
  margin: auto;
  box-shadow: 0 12px 48px #203a3560;
}

.island-popover::backdrop {
  background: #24483f45;
}

.island-preview {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 115px;
  transform: translateX(-50%);
  width: min(calc(100% - 28px), 440px);
  padding: 14px 17px;
  margin: 0;
  box-shadow: 0 8px 22px #274f3c40;
}

.island-preview h2 { margin-bottom: 5px; }
.island-preview p { margin-bottom: 8px; }
.sport-island-page .island-preview {
  position: static;
  transform: none;
  width: min(760px, calc(100% - 32px));
  max-width: none;
  margin: 1.5rem auto;
  padding: clamp(1rem, 3vw, 1.65rem);
  box-shadow: none;
}
.sport-island-page .island-preview .actions { margin-top: .75rem; }
.sport-island-page .footer { position: static; padding: .65rem var(--map-edge) 1rem; }
.island-stage[data-sport] .island-dock { left: 50%; right: auto; transform: translateX(-50%); bottom: clamp(20px, 5vh, 44px); }
.place-filters { grid-template-columns: minmax(100px, .5fr) minmax(150px, 1fr) auto auto; }
.place-filters > a { align-self: center; }

@media (max-width: 600px) {
  .satellite { min-width: 49px; padding: 5px 5px; font-size: .82rem; }
  .island-preview { bottom: 149px; }
  .place-filters { grid-template-columns: 1fr 1fr; }
}

.line-qr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
}

.line-qr a {
  flex: 0 0 164px;
}

.line-qr img {
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.top[data-site-header] { position: relative; z-index: 4; }
.island-home .top[data-site-header] { position: absolute; }

.site-header-actions, .header-session { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.site-header-actions form { margin: 0; }
.select-field { display: grid; gap: .35rem; min-width: 0; }
.select-control { position: relative; display: block; min-width: 0; }
.select-control select {
  appearance: none;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: .65rem 2.75rem .65rem .9rem;
  line-height: 1.4;
}
.select-control::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1rem;
  width: .48rem;
  height: .48rem;
  border: solid var(--green);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
@media (forced-colors: active) {
  .select-control select { appearance: auto; padding-right: .9rem; }
  .select-control::after { display: none; }
}
.bar .site-nav { gap: clamp(9px, 2.1vw, 30px); }
.site-nav-group { position: relative; display: flex; align-items: center; }
.site-nav-group:hover > .site-nav-parent,
.site-nav-group:focus-within > .site-nav-parent { color: var(--green); }

.site-submenu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-height: 44px;
  border-radius: 5px;
  cursor: pointer;
  list-style: none;
}
.site-submenu summary::-webkit-details-marker { display: none; }
.site-submenu summary:hover { background: var(--light); }
.site-submenu summary span { display: none; }
.site-submenu summary::after {
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  content: "";
}
.site-submenu[open] summary::after { margin-top: 3px; transform: rotate(225deg); }

.site-submenu ul {
  position: absolute;
  z-index: 2;
  top: 100%;
  left: 0;
  width: max-content;
  min-width: 176px;
  max-height: min(55vh, 440px);
  overflow: auto;
  margin: 0;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 20px #233b321c;
  list-style: none;
}
.bar .site-submenu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 8px 11px;
  min-height: 43px;
  border-radius: 4px;
  text-decoration: none;
}
.bar .site-submenu li a:hover { background: var(--light); }
.site-submenu small { color: var(--muted); font-size: .75rem; font-weight: 600; }

.site-menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green);
  background: var(--white);
  cursor: pointer;
}
.site-menu-toggle:hover, .site-menu-toggle[aria-expanded="true"] { background: var(--light); }
.site-menu-toggle span,
.site-menu-toggle span::before,
.site-menu-toggle span::after {
  position: relative;
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.site-menu-toggle span::before, .site-menu-toggle span::after { position: absolute; content: ""; }
.site-menu-toggle span::before { transform: translateY(-5px); }
.site-menu-toggle span::after { transform: translateY(5px); }
.site-menu-toggle[aria-expanded="true"] span { background: transparent; }
.site-menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.site-menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }
.site-menu-toggle[hidden], .bar .site-nav[hidden] { display: none; }

@media (max-width: 900px) {
  .top[data-site-header] .bar {
    height: auto;
    min-height: 62px;
    padding-block: 8px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .top[data-nav-ready] .bar { flex-wrap: nowrap; }
  .top[data-site-header] .brand { gap: 8px; }
  .site-header-actions .button { padding-inline: .68rem; }
  .bar .site-nav {
    order: 3;
    width: 100%;
    display: block;
    padding: 4px 12px;
    border-top: 1px solid var(--line);
    background: var(--white);
  }
  [data-nav-ready] .bar .site-nav {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 5px);
    max-height: min(76svh, 570px);
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px #233b3229;
  }
  .site-nav-group { display: block; }
  .site-nav-group + .site-nav-group { border-top: 1px solid var(--line); }
  .bar .site-nav-parent { display: none; }
  .bar .site-nav-link { display: flex; align-items: center; min-height: 48px; padding: 8px 10px; border-top: 1px solid var(--line); }
  .site-submenu summary {
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 8px 10px;
    font-weight: 700;
  }
  .site-submenu summary span { display: block; }
  .site-submenu ul {
    position: static;
    width: 100%;
    max-height: none;
    margin-bottom: 8px;
    padding: 2px 8px;
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: var(--paper);
  }
  .bar .site-submenu li a { font-size: .94rem; }
}

.profile-photo .coach-image { object-fit: contain; }

@media (max-width: 440px) {
  .top:has(.site-header-actions.signed-in) .brand small { display: none; }
  .site-header-actions.signed-in, .signed-in .header-session { gap: 5px; }
  .site-header-actions.signed-in .button { padding-inline: .5rem; }
  .site-header-actions.signed-in .site-menu-toggle { width: 42px; }
}

@media (max-width: 360px) {
  .island-home .bar { width: calc(100% - 16px); }
}

@media (min-width: 901px) and (max-width: 1080px) {
  .top:has(.admin-actions) .bar { gap: 8px; }
  .top:has(.admin-actions) .brand small { display: none; }
  .top:has(.admin-actions) .site-nav { gap: 6px; }
  .site-header-actions.admin-actions .button { padding-inline: .55rem; }
}

.island-time {
  display: inline-flex;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 2px;
  background: var(--field);
}
.island-time[hidden] { display: none; }
.island-time button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.island-time button:hover { border-color: var(--field-line); }
.island-time button[aria-pressed="true"] {
  background: #f8e3a8;
  border-color: #c49a49;
  color: #684916;
}
.island-time [data-island-time="dusk"][aria-pressed="true"] { background: #f6d1b8; border-color: #c09070; color: #752f2d; }
.island-time [data-island-time="night"][aria-pressed="true"] { background: #dce7f2; border-color: #8caabd; color: #284960; }
.island-time-symbol { position: relative; display: block; width: 16px; height: 16px; }
.island-time-symbol::before, .island-time-symbol::after { content: ''; position: absolute; }
[data-island-time="day"] .island-time-symbol::before {
  inset: 4px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
}
[data-island-time="day"] .island-time-symbol::after {
  top: 7px;
  left: 7px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  box-shadow: 0 -7px, 0 7px, -7px 0, 7px 0, -5px -5px, 5px -5px, -5px 5px, 5px 5px;
}
[data-island-time="dusk"] .island-time-symbol::before {
  inset: 4px 3px 6px;
  border: 1.4px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
[data-island-time="dusk"] .island-time-symbol::after {
  inset: 10px 1px auto;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 3px;
}
[data-island-time="night"] .island-time-symbol::before {
  inset: 1px 2px 2px 1px;
  border-radius: 50%;
  background: currentColor;
  mask: radial-gradient(circle at 72% 28%, transparent 0 5.2px, #000 5.6px);
}
@media (min-width: 901px) and (max-width: 1200px) {
  .island-home .bar { width: calc(100% - 14px); }
  .top[data-site-header] .brand small { display: none; }
  .top[data-site-header] .bar .site-nav { gap: 5px; }
  .top[data-site-header] .site-submenu summary { width: 22px; }
  .top[data-site-header]:has(.admin-actions) .site-nav-parent { font-size: .86rem; }
  .top[data-site-header] .admin-actions .button { padding-inline: .48rem; }
}
@media (max-width: 500px) {
  .top[data-site-header]:has(.admin-actions) .bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .top[data-site-header] .admin-actions { display: contents; }
  .top[data-site-header] .admin-actions .header-session { grid-area: 1 / 2; }
  .header-admin-action { grid-area: 2 / 1 / auto / -1; justify-self: start; }
  .top[data-site-header]:not([data-nav-ready]):has(.admin-actions) .site-nav { grid-area: 3 / 1 / auto / -1; }
  .island-home:has(.admin-actions) .island-heading { top: 128px; }
}
@media (max-width: 440px) {
  .top[data-site-header] .brand small { display: none; }
  .top[data-site-header] .header-session { gap: 5px; }
}
@media (max-width: 360px) {
  .top[data-site-header] .bar { width: calc(100% - 24px); gap: 4px; }
  .island-home .top[data-site-header] .bar { width: calc(100% - 8px); }
  .top[data-site-header] .brand { font-size: 1rem; gap: 5px; }
  .top[data-site-header] .brand .mark { width: 30px; height: 30px; }
  .top[data-site-header] .header-session { gap: 4px; }
  .top[data-site-header] .header-session .button { padding-inline: .34rem; font-size: .78rem; }
  .top[data-site-header] .header-session .site-menu-toggle { width: 36px; }
  .island-time button { width: 24px; }
}
:root[data-site-light="dusk"] .island-home {
  --map-header: #fff1e4f5;
  background: #ba9084;
}
:root[data-site-light="night"] .island-home {
  --map-header: #182c3ef5;
  --map-header-line: #486171;
  background: #1a3046;
}
:root[data-site-light="night"] .island-stage {
  --map-link: #294c68;
  --map-line: #4b6377;
}
:root[data-site-light="night"] .island-stage .map-return:hover {
  background: #dde9f4;
}
:root[data-site-light="dusk"] .island-stage {
  background: radial-gradient(ellipse at 64% 21%, #fbe0a4, #e0a98d 29%, #b78992 66%, #867892 100%);
}
:root[data-site-light="night"] .island-stage {
  background: radial-gradient(ellipse at 60% 40%, #3e647a, #25445c 48%, #152a42 100%);
}
:root[data-site-light="night"] .island-stage::before {
  opacity: .17;
  background: repeating-radial-gradient(ellipse at 42% 47%, transparent 0 34px, #c1e4ef 35px, transparent 36px 72px);
}
.island-stage[data-ready][data-view="overview"]:not([data-sport]) {
  --sky-light: #eaf3e9;
  --sky-middle: #c3dbdc;
  --sky-outer: #96bdc8;
  --sky-cloud: #fffdf9a1;
  background: radial-gradient(ellipse at 52% 28%, var(--sky-light), var(--sky-middle) 62%, var(--sky-outer));
}
:root[data-site-light="dusk"] .island-stage[data-ready][data-view="overview"]:not([data-sport]) {
  --sky-light: #fbe6c9;
  --sky-middle: #dab6af;
  --sky-outer: #9a8eaa;
  --sky-cloud: #fff1db83;
}
:root[data-site-light="night"] .island-stage[data-ready][data-view="overview"]:not([data-sport]) {
  --sky-light: #44657b;
  --sky-middle: #29465f;
  --sky-outer: #182c45;
  --sky-cloud: #a4c6e44b;
}
.island-stage[data-ready][data-view="overview"]:not([data-sport])::before {
  opacity: 1;
  background:
    radial-gradient(ellipse 47% 13% at 12% 73%, var(--sky-cloud), transparent 76%),
    radial-gradient(ellipse 34% 10% at 89% 64%, var(--sky-cloud), transparent 80%),
    radial-gradient(ellipse 32% 7% at 35% 86%, var(--sky-cloud), transparent 75%),
    radial-gradient(ellipse 25% 8% at 92% 23%, var(--sky-cloud), transparent 78%);
}
.island-controls [aria-pressed="true"] { background: var(--light); color: var(--green); }
.island-stage[data-motion-paused] .island-snow::before,
.island-stage[data-motion-paused] .island-snow::after { animation-play-state: paused; }
:root[data-site-light="night"] .island-home .island-heading h1 {
  color: #f5eedc;
  text-shadow: 0 1px 3px #14263c;
}
:root[data-site-light="night"] .island-home :is(.footer a, .footer-copyright) { color: #f2f1ea; }
:root[data-site-light="dusk"] .island-home .island-heading h1 { text-shadow: 0 1px 3px #f9dec0; }
.island-stage[data-ready] .island-point:not(.island-point-main):is(:hover, :focus-visible) { background: #fff2ce; }
.island-click-effect {
  position: absolute;
  z-index: 2;
  width: 84px;
  height: 42px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.island-click-effect[data-effect="main"] {
  width: 24px;
  height: 24px;
  background: url('/assets/coach-pointer-badminton.png') center/contain no-repeat;
  animation: island-shuttle-spark .5s ease-out both;
}
.island-click-effect[data-effect="swimming"] {
  border: 2px solid #d8fffa;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #93dadd87, inset 0 0 0 4px #a9eeeb69;
  animation: island-pool-ripple .42s ease-out both;
}
.island-click-effect[data-effect="running"] {
  height: 22px;
  transform: translate(-50%, -50%) rotate(-13deg);
  background: repeating-linear-gradient(0deg, transparent 0 4px, #ffeab0 5px 6px);
  animation: island-track-light .42s ease-out both;
}
@keyframes island-shuttle-spark {
  from { transform: translate(-50%, -50%) scale(.6); opacity: .6; }
  35% { opacity: 1; }
  to { transform: translate(74%, -210%) rotate(-42deg); opacity: 0; }
}
@keyframes island-pool-ripple {
  from { transform: translate(-50%, -50%) scale(.32); opacity: .9; }
  to { transform: translate(-50%, -50%) scale(1.56); opacity: 0; }
}
@keyframes island-track-light {
  from { clip-path: inset(0 90% 0 0); opacity: .7; }
  68% { clip-path: inset(0); opacity: 1; }
  to { clip-path: inset(0); opacity: .55; }
}

@media (any-hover: hover) and (any-pointer: fine) {
  main[data-sport-pointer], a[data-sport-pointer],
  main[data-sport-pointer] :is(a[href], button, summary, select, input):not(:disabled) {
    cursor: var(--sport-pointer);
  }

  main[data-sport-pointer] :is(
    input:not([type]), input:is([type="text"], [type="search"], [type="email"], [type="url"], [type="tel"], [type="password"], [type="number"]),
    textarea, [contenteditable]:not([contenteditable="false"])
  ):not(:disabled) {
    cursor: text;
  }
}

.mobile-light-slot { display: none; }
@media (max-width: 900px) {
  .mobile-light-slot:has(.island-time:not([hidden])) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border-top: 1px solid var(--line);
    font-weight: 700;
  }
  .mobile-light-slot .island-time button { width: 42px; height: 40px; }
}

.island-stage[data-view="overview"]:not([data-sport]) .island-links { display: none; }

.island-snow { display: none; }
.island-stage[data-christmas] .island-snow {
  display: block;
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.island-snow::before,
.island-snow::after {
  content: '';
  position: absolute;
  inset: -210px 0 0;
}
.island-snow::before {
  background-image: radial-gradient(circle at 17px 23px, #fffbeb 1px, transparent 2px),
    radial-gradient(circle at 115px 105px, #fffbeb 1.6px, transparent 2.8px),
    radial-gradient(circle at 60px 165px, #fff9e9 1px, transparent 2.2px);
  background-size: 176px 206px;
  animation: island-snowfall 19s linear infinite;
  opacity: .75;
}
.island-snow::after {
  background-image: radial-gradient(circle at 140px 32px, #fffdf4 2px, transparent 4px),
    radial-gradient(circle at 40px 155px, #fffdf4 1.7px, transparent 3px);
  background-size: 229px 190px;
  animation: island-snowfall-near 12s linear infinite;
  opacity: .65;
}
@keyframes island-snowfall {
  from { transform: translate(-20px, 0); }
  to { transform: translate(20px, 206px); }
}
@keyframes island-snowfall-near {
  from { transform: translate(12px, 0); }
  to { transform: translate(-12px, 190px); }
}
@media (prefers-reduced-motion: reduce) {
  .island-snow::before, .island-snow::after { animation: none; }
}

.host-cooperation { max-width: 1090px; }
.host-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(24px, 6vw, 76px);
  margin-bottom: clamp(36px, 6vw, 64px);
}
.host-intro .section-head { margin: 0; }
.host-intro .actions { margin-top: 20px; }
.host-court {
  display: grid;
  place-items: center;
  aspect-ratio: 1.55;
  padding: 12%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}
.host-court-lines {
  position: relative;
  width: 100%;
  height: 100%;
  border: 2px solid #ffefd2;
  background: #396a56;
  box-shadow: 7px 7px 0 #244b3f38;
  transform: skewY(-7deg);
}
.host-court-lines::before,
.host-court-lines::after,
.host-court-lines span {
  position: absolute;
  content: '';
}
.host-court-lines::before { inset: 11% 0; border-block: 1px solid #ffefd2; }
.host-court-lines::after { inset: 0 26%; border-inline: 1px solid #ffefd2; }
.host-court-lines span { inset: 0 auto 0 50%; border-left: 2px dashed #ffefd2; }
.host-options h2 { margin-bottom: 16px; }
.host-options-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.host-options-grid .panel { margin: 0; }
.host-options-grid h3 { margin: 0 0 8px; }
.host-options-grid p, .host-qr p { margin-bottom: 0; }
.host-qr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 4vw, 48px);
  margin-top: 24px;
}
.host-qr h2 { margin: 0 0 8px; }
.host-qr img { display: block; width: clamp(76px, 20vw, 124px); height: auto; }
@media (max-width: 680px) {
  .host-intro, .host-options-grid { grid-template-columns: 1fr; }
  .host-court { aspect-ratio: 2.25; padding: 8% 14%; }
}

.island-stage[data-christmas] .island-point { z-index: 3; }
.festive-drag-handle {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: grab;
  touch-action: none;
  transform: translate(-50%, -50%);
}
.island-stage:not([data-ready]) .festive-drag-handle, .festive-drag-handle[hidden] { display: none; }
.festive-drag-handle[data-festive-state="dragging"] { cursor: grabbing; }

.festive-drag-handle[data-festive-hit-area="decoration"] { height: 48px; }
