/* Featured island layout (after island-v2.css and island-responsive.css).
   - Only the 2D / 3D switch shows on the island, at its bottom left. The stop menu (stops, ＋Blog, radio tower) opens
     above it while keyboard focus is inside; the live caption stays for screen readers only.
   - A stop's posts and links stand in one sheet (.ph-featured-sheet, SWELL's caption box): inside the stage to the right on wide and short
     landscape screens (island-featured.js frames the island left of it), in the page flow below a shorter island on
     phones. The sheet is outside .ph-hud, so the older :has() band grids no longer apply; nothing here needs :has()
     or svh (vh and fixed fallbacks come first). */

/* Switch: bottom left of the island, clear of the notch / home bar, a full touch target. The HUD (click-through except
   its controls) stays above the sheet so the opened menu is never under it. */
#ph-island .ph-featured-route .ph-hud {
  z-index: 4;
  padding-left: 12px;
  padding-bottom: calc(10px + var(--island-bottom-clip, 0px));
}
@supports (padding: max(0px)) {
  #ph-island .ph-featured-route .ph-hud {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-bottom: calc(max(10px, env(safe-area-inset-bottom)) + var(--island-bottom-clip, 0px));
  }
}
#ph-island .ph-featured-route .ph-bottom { align-items: flex-start; }
#ph-island #route .ph-bottom::before { display: none; }
#ph-island .ph-featured-route #controls {
  position: relative;
  flex-wrap: nowrap;
  justify-content: flex-start;
  max-width: none;
}
#ph-island .ph-featured-route .mode-bar button {
  min-width: 44px;
  min-height: 44px;
  padding: .5em 1em;
  white-space: nowrap;
}
#ph-island #route #info {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Stop menu above the switch while focus is in it. Browsers without :focus-within drop the hiding rule and keep it shown. */
#ph-island .ph-featured-route #stopLinks {
  position: absolute;
  left: 0;
  bottom: calc(100% + 6px);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: max-content;
  max-width: 90vw;
  max-width: min(32rem, 90vw);
  margin: 0;
  padding: 6px;
  background: var(--color_bg, #fff);
  border-radius: var(--swl-radius--4, 4px);
}
#ph-island .ph-featured-route #stopLinks:not(:focus-within) {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
#ph-island .ph-featured-route #stopLinks button,
#ph-island .ph-featured-route #stopLinks .link { min-height: 40px; }
#ph-island .ph-featured-route #stopLinks [hidden] { display: none; }

/* 2D poster: an upright swipe scrolls the page, a sideways one walks the stops (phones; the canvas sets its own). */
#ph-island .ph-featured-route #poster { touch-action: pan-y pinch-zoom; }

/* The board's registration mark (island-featured.js, desktop mouse only): an 8px dot, lemon in a blue ring, so it reads
   on pale paper, dark wood and in the two-colour mode. The outer box sits at the sheet's middle, the dot leans a few px
   towards the pointer. Under the sheet and the switch; never takes the pointer; [hidden] removes it. */
#ph-island .stage > .ph-board-aim {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
#ph-island .stage > .ph-board-aim > span {
  position: absolute;
  top: -4px;
  left: -4px;
  box-sizing: border-box;
  width: 8px;
  height: 8px;
  background: #e1ec3a;
  border: 2px solid #2517c8;
  border-radius: 50%;
  transition: transform .12s ease-out;
}
#ph-island .stage > .ph-board-aim[hidden] { display: none !important; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  #ph-island .stage > .ph-board-aim { display: none !important; }
}

/* The site's two-colour mode (:root[data-bh-alt], set by its own five-press button script): the island's pictures go
   through one duotone, blue #2517c8 in the shadows to yellow #e1ec3a in the lights (#ph-island-duo, added by
   island-featured.js), so the rendered poster or the old picture, the 3D canvas (sky, sea, buildings, pug, radio waves) and
   the cloud banks change together and keep their light and shade. Each is filtered once, on itself, never through
   an ancestor: a poster the site's script has also tagged .bh-duo gets this one filter instead of a second one on top,
   and the sheet's SWELL photos and the controls keep the site's own treatment. A filter takes no pointer input and the
   canvas keeps drawing only on demand. */
:root[data-bh-alt] #ph-island #poster,
:root[data-bh-alt] #ph-island #scene,
:root[data-bh-alt] #ph-island .cloud-bank { filter: url(#ph-island-duo); }
:root[data-bh-alt] #ph-island #poster.bh-duo { filter: url(#ph-island-duo) !important; }
/* Wherever the stage itself shows (past a poster edge, before the poster or canvas paints): the pale sky #e2f2f3
   through the same duotone, a flat colour in place of any lighter sky the stage has in the ordinary mode. */
:root[data-bh-alt] #ph-island .stage { background: #d5de43; }

/* The sheet: SWELL's caption box with the caption on the frame (.cap_box.is-style-onborder_ttl, as on the public top),
   white with a thin brand frame, text at the theme's content size and font. The theme's block CSS draws it; only the
   frame colour, the caption's place and the spacing are pinned here, because the caption stands half above the frame:
   the sheet keeps room for it on both places and only its body (.ph-featured-sheet__body) scrolls, so nothing clips it.
   Not .post_content: the sheet's headings and cards keep their own styles. */
#ph-island .ph-featured-sheet {
  --ph-sheet-cap: .8em; /* the caption's upper half, above the frame */
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: var(--color_bg, #fff);
  color: var(--color_text, #333);
  border: 1px solid var(--color_main, #2517c8);
  border-radius: var(--swl-radius--4, 4px);
  font-family: var(--swl-font_family, inherit);
  font-size: 15px;
  font-size: clamp(14px, var(--swl-fz--content, 15px), 16px);
  line-height: 1.6;
}
#ph-island .ph-featured-sheet > .cap_box_ttl {
  position: absolute;
  z-index: 1;
  top: 0;
  left: .9em;
  max-width: calc(100% - 1.8em);
  margin: 0;
  padding: 0 .5em;
  transform: translateY(-50%);
  background: var(--color_bg, #fff);
  color: var(--color_main, #2517c8);
  border: 0;
  font-size: .875em;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  overflow-wrap: anywhere;
}
#ph-island .ph-featured-sheet > .cap_box_ttl[hidden] { display: none; }
/* The service board and the blog have no caption (data-bare): no room kept for one above the frame or inside it. */
#ph-island .ph-featured-sheet[data-bare] { --ph-sheet-cap: 0px; }
#ph-island .ph-featured-sheet > .ph-featured-sheet__body {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 1.15em 1em 1em;
  background: none;
  border: 0;
  border-radius: inherit;
}
#ph-island .ph-featured-sheet[data-bare] > .ph-featured-sheet__body { padding-top: 1em; }
/* Beside the island: only as tall as its content (empty sea next to it stays clickable); the body scrolls when long. */
#ph-island .stage > .ph-featured-sheet {
  position: absolute;
  z-index: 3;
  top: calc(var(--island-header-clearance, 10px) + var(--ph-sheet-cap));
  right: 12px;
  width: 340px;
  width: clamp(300px, 36vw, 540px);
  max-height: calc(100% - var(--island-header-clearance, 10px) - var(--ph-sheet-cap) - var(--island-bottom-clip, 0px) - 12px);
  display: flex;
  flex-direction: column;
  overflow: visible;
}
#ph-island .stage > .ph-featured-sheet > .ph-featured-sheet__body {
  flex: 0 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
@supports (right: max(0px)) {
  #ph-island .stage > .ph-featured-sheet { right: max(12px, env(safe-area-inset-right)); }
}
/* Below the island (phones): plain page flow, no inner scrolling, the frame inset from the screen edges. */
#ph-island #route > .ph-featured-sheet {
  width: calc(100% - 24px);
  max-width: 760px;
  margin: calc(var(--ph-sheet-cap) + .6em) auto 1.4em;
}
@supports (width: max(0px)) {
  #ph-island #route > .ph-featured-sheet {
    width: calc(100% - max(12px, env(safe-area-inset-left)) - max(12px, env(safe-area-inset-right)));
  }
}
#ph-island #route > .ph-featured-sheet > .ph-featured-sheet__body { overflow: visible; }
@media (max-width: 619px), (max-width: 899px) and (orientation: portrait) {
  #ph-island .ph-featured-route > .stage { position: relative; }
  #ph-island .ph-featured-route > .stage[data-sheet=below] { height: 62vh; height: 62svh; min-height: 300px; }
}

/* Deck and guide inside the sheet: no own frame, width or inner scroller. */
#ph-island .ph-featured-sheet #deck,
#ph-island .ph-featured-sheet #guide {
  box-sizing: border-box;
  width: auto;
  max-width: none;
  max-height: none;
  overflow: visible;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  font-size: inherit;
  text-align: left;
}
#ph-island .ph-featured-sheet #deck:not([hidden]) + #guide {
  margin-top: 1em;
  padding-top: 1em;
  border-top: 1px solid var(--color_border, #ddd);
}
/* A loaded blog list already ends on its own rule: no second one above the guide, same spacing. */
#ph-island .ph-featured-sheet #deck[data-state=ok][data-kind=blog]:not([hidden]) + #guide { border-top: 0; }
/* Section heading: plain bold text at the content size (no fill or outline, so it does not read as a tab). */
#ph-island .ph-featured-sheet #deck .ph-panel-heading {
  margin: 0 0 .6em;
  padding: 0;
  background: none;
  border: 0;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color_text, #333);
}
/* Blog titles as on the public lists: 3.6vw between 14px (14.04 at 390) and 16px (1440), 700 / 1.5; px, not rem, so a
   different root size cannot move them. The three illustration cards a step smaller. */
#ph-island .ph-featured-sheet #deck .p-postList__title {
  font-size: 14px;
  font-size: clamp(14px, 3.6vw, 16px);
  font-weight: 700;
  line-height: 1.5;
}
#ph-island .ph-featured-sheet #deck .-type-card .p-postList__title { font-size: .875em; }

/* Loading, empty and error read differently: a quiet note, a plain note, a note with the retry button (the deck's own,
   and the board's 制作 panel's). */
#ph-island .ph-featured-sheet #deck:not([data-state=ok]),
#ph-island .ph-featured-sheet .ph-board__panel:not([data-state=ok]) {
  justify-content: flex-start;
  gap: .6em 1em;
  font-size: .9375em;
}
#ph-island .ph-featured-sheet .ph-board__panel:not([data-state=ok]) { display: flex; flex-wrap: wrap; align-items: center; }
#ph-island .ph-featured-sheet #deck .ph-deck__note { margin: 0; }
#ph-island .ph-featured-sheet #deck[data-state=loading] .ph-deck__note,
#ph-island .ph-featured-sheet .ph-board__panel[data-state=loading] .ph-deck__note { opacity: .7; }
#ph-island .ph-featured-sheet #deck[data-state=error] .ph-deck__note,
#ph-island .ph-featured-sheet .ph-board__panel[data-state=error] .ph-deck__note { flex-basis: 100%; font-weight: 700; }
#ph-island .ph-featured-sheet #deck .ph-deck__retry {
  min-height: 44px;
  padding: .5em 1.4em;
  background: var(--color_bg, #fff);
  color: var(--color_main, #2517c8);
  border: 1px solid currentColor;
  border-radius: var(--swl-radius--4, 4px);
  font-size: .875em;
  font-weight: 700;
  cursor: pointer;
}

/* The stop's links: the site's own SWELL buttons (more button for the service board, line buttons otherwise), centred
   below the content; long Japanese labels wrap instead of being cut. */
#ph-island .ph-featured-sheet #guide .ph-guide-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6em .8em;
  margin: 1em 0 0;
}
#ph-island .ph-featured-sheet #guide .ph-guide-actions:first-child { margin-top: 0; }
#ph-island .ph-featured-sheet #guide .ph-guide-actions > .swell-block-button {
  min-width: 0;
  max-width: 100%;
  margin: 0;
}
#ph-island .ph-featured-sheet #guide .swell-block-button__link {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* The service board (island-featured.js): its four printed sheets as tabs over one panel, in SWELL's own tab block
   markup (.swell-block-tab.is-style-balloon > ul.c-tabList > li > button > strong). Colours, borders, corners, type,
   inactive tone, hover and the chosen tab's pointer are the theme's blocks.css, the child theme and the site's tab
   snippet, as on the public top; only the row's layout is set here. One row of four that fits the sheet: no wrap and
   no sideways scroller (it would also clip the pointer); every tab as tall as the tallest, so tops and bottom borders
   stay on one line when 創作|イラスト folds (only at its <wbr>, never inside a word) and whichever tab is chosen. */
#ph-island .ph-featured-sheet .ph-board { min-width: 0; container-type: inline-size; }
#ph-island .ph-featured-sheet .ph-board__tabs { margin: 0 0 1.1em; }
#ph-island .ph-featured-sheet .ph-board__tabs > .c-tabList {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  overflow: visible;
}
#ph-island .ph-featured-sheet .ph-board__tabs .c-tabList__item {
  display: flex;
  flex: 1 1 auto;
  min-width: min-content;
}
#ph-island .ph-featured-sheet .ph-board__tabs .c-tabList__button {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  word-break: keep-all;
  overflow-wrap: normal;
}
/* The name is one label: a press anywhere on the tab is the button's. */
#ph-island .ph-featured-sheet .ph-board__tabs .c-tabList__button > strong { pointer-events: none; }
/* A narrow sheet: only the tabs' side padding gives way, step by step, so the four keep the theme's type, borders and
   gaps on one line at 375 / 390px phones; at 320px 創作|イラスト may still fold, the row keeps one bottom line. */
#ph-island .ph-featured-sheet .ph-board__tabs > .c-tabList { min-width: 0; max-width: 100%; }
@container (max-width: 380px) {
  #ph-island .ph-featured-sheet .ph-board__tabs .c-tabList__button { padding-left: 5px; padding-right: 5px; }
}
@container (max-width: 280px) {
  #ph-island .ph-featured-sheet .ph-board__tabs .c-tabList__button { padding-left: 3px; padding-right: 3px; }
}
@container (max-width: 250px) {
  #ph-island .ph-featured-sheet .ph-board__tabs .c-tabList__button { padding-left: 2px; padding-right: 2px; }
}

/* One photo, large and whole: a steady frame (the picture letterboxed in it on the theme's pale gray) so choosing
   another title never moves the list; its caption below names it. Photo and caption are one link. */
#ph-island .ph-featured-sheet .ph-board-preview {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--swl-radius--4, 4px);
}
#ph-island .ph-featured-sheet .ph-board-preview:focus-visible { outline: 2px solid var(--color_main, #2517c8); outline-offset: 3px; }
#ph-island .ph-featured-sheet .ph-board-preview__figure {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  max-height: 46vh;
  overflow: hidden;
  background: var(--color_gray, #f7f7f7);
  border-radius: var(--swl-radius--8, 8px);
}
#ph-island .ph-featured-sheet .ph-board-preview__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#ph-island .ph-featured-sheet .ph-board-preview__figure[data-missing] img { visibility: hidden; }
#ph-island .ph-featured-sheet .ph-board-preview__figure[data-missing]::after {
  content: "画像を表示できません";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color_text, #333);
  font-size: .8125em;
  opacity: .6;
}
#ph-island .ph-featured-sheet .ph-board-preview__title {
  display: block;
  margin: .55em 0 0;
  font-size: 15px;
  font-size: clamp(14px, 3.6vw, 16px);
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
#ph-island .ph-featured-sheet .ph-board-preview[href] .ph-board-preview__title::after { content: " »"; color: var(--color_main, #2517c8); }
@media (hover: hover) {
  #ph-island .ph-featured-sheet .ph-board-preview:hover .ph-board-preview__title { text-decoration: underline; }
}
#ph-island .ph-featured-sheet .ph-board-preview__sub {
  display: block;
  margin-top: .15em;
  font-size: .875em;
  font-weight: 400;
}

/* 制作: the project titles under the photo, whole and wrapping, one rule between rows; the chosen one carries the
   brand bar and colour. Plain buttons in the sheet's flow: swipes and the wheel over them scroll as usual. */
#ph-island .ph-featured-sheet .ph-board-cases__label {
  margin: 1.1em 0 .35em;
  font-size: .8125em;
  font-weight: 700;
  color: var(--color_text, #333);
  opacity: .75;
}
#ph-island .ph-featured-sheet .ph-board-cases__list { margin: 0; padding: 0; list-style: none; }
#ph-island .ph-featured-sheet .ph-board-cases__list > li { margin: 0; padding: 0; border-top: 1px solid var(--color_border, #ddd); }
#ph-island .ph-featured-sheet .ph-board-cases__list > li::before { content: none; }
#ph-island .ph-featured-sheet .ph-board-cases__item {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: .55em .6em .55em .75em;
  background: none;
  color: var(--color_text, #333);
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}
#ph-island .ph-featured-sheet .ph-board-cases__item[aria-current=true] {
  background: var(--color_main_thin, rgba(46, 29, 250, .05));
  color: var(--color_main, #2517c8);
  border-left-color: var(--color_main, #2517c8);
  font-weight: 700;
}
#ph-island .ph-featured-sheet .ph-board-cases__item:focus-visible { outline: 2px solid var(--color_main, #2517c8); outline-offset: -2px; }
@media (hover: hover) {
  #ph-island .ph-featured-sheet .ph-board-cases__item:not([aria-current=true]):hover { color: var(--color_main, #2517c8); }
}

/* The other sheets: the service's own excerpt under its picture; the panel's buttons centred below. */
#ph-island .ph-featured-sheet .ph-board-intro { margin: .6em 0 0; font-size: .875em; line-height: 1.7; }
#ph-island .ph-featured-sheet .ph-board-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6em .8em;
  margin: 1em 0 0;
}
#ph-island .ph-featured-sheet .ph-board-actions > .swell-block-button { min-width: 0; max-width: 100%; margin: 0; }
#ph-island .ph-featured-sheet .ph-board-actions .swell-block-button__link { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
#ph-island .ph-featured-sheet .ph-board-more {
  min-height: 44px;
  padding: .5em 1.4em;
  background: var(--color_bg, #fff);
  color: var(--color_main, #2517c8);
  border: 1px solid currentColor;
  border-radius: var(--swl-radius--4, 4px);
  font: inherit;
  font-size: .875em;
  font-weight: 700;
  cursor: pointer;
}
#ph-island .ph-featured-sheet .ph-board-more:focus-visible { outline: 2px solid var(--color_main, #2517c8); outline-offset: 2px; }
#ph-island .ph-featured-sheet .ph-board__panel:not([data-state=ok]) > .ph-board-actions { flex-basis: 100%; }

/* The two-colour mode: the board's shown picture goes through the island's own duotone (#ph-island-duo, blue to
   lemon), like the island beside it; in the ordinary mode it keeps its true colours. */
:root[data-bh-alt] #ph-island .ph-board-preview__figure img { filter: url(#ph-island-duo) !important; }

/* Blog: the newest post with its picture beside the title (SWELL list), the next two as dated titles (simple list). */
#ph-island .ph-featured-sheet #deck[data-kind=blog] .p-postList { margin: 0; padding: 0; list-style: none; }
#ph-island .ph-featured-sheet #deck[data-kind=blog] .-type-list > .p-postList__item { margin: 0 0 .4rem; }

/* NEW marks: the site's own .ph-inline-new / .ph-thumbnail-new, one each, added by island-featured.js (data-ph-island).
   Any copy the site's own scripts add later stays hidden: none on the blog pictures, none twice on the 制作 photo. The
   photo is .c-postThumb only for the mark; its frame keeps its own size, so SWELL's thumbnail overlay stays off, and
   a photo that does not load shows no mark. */
#ph-island #deck[data-kind=blog] .c-postThumb .ph-thumbnail-new,
#ph-island #deck[data-kind=blog] .ph-inline-new:not([data-ph-island]),
#ph-island .ph-board-preview__figure .ph-thumbnail-new:not([data-ph-island]),
#ph-island .ph-board-preview__figure[data-missing] .ph-thumbnail-new { display: none; }
#ph-island .ph-featured-sheet .ph-board-preview__figure.c-postThumb::before { content: none; }

/* 漫画: the quiet way round to the back hill, a text link in the sheet's own ink under the service's introduction. */
#ph-island .ph-featured-sheet .ph-board-hill-row { margin: .9em 0 0; text-align: center; }
#ph-island .ph-featured-sheet .ph-board-hill {
  min-height: 44px;
  padding: .4em .8em;
  background: none;
  border: 0;
  color: var(--color_main, #2517c8);
  font: inherit;
  font-size: .8125em;
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}
#ph-island .ph-featured-sheet .ph-board-hill:focus-visible { outline: 2px solid var(--color_main, #2517c8); outline-offset: 2px; }

/* The back beach in 2D (island-featured.js): the approved still of the island's back, whole in the clear band (its
   box set by the script), the stage around it in the still's own top and bottom colours (pale sky until they are read).
   It lies over the poster and under the 3D canvas, takes the pointer only while shown (so the front never answers
   through it), and fades unless the change is instant or motion is reduced. The poster stays hidden under it, and
   before the script runs on a #back-beach arrival (the page's head sets data-ph-island-back). */
:root[data-ph-island-back] #ph-island #poster,
#ph-island .stage[data-back] #poster { visibility: hidden; }
#ph-island .stage > .ph-island-back {
  --ph-back-sky: #e2f2f4;
  --ph-back-sea: #60c3cd;
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--ph-back-sky) var(--ph-back-split, 50%), var(--ph-back-sea) var(--ph-back-split, 50%));
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease-out;
}
#ph-island .stage > .ph-island-back[data-shown] { opacity: 1; pointer-events: auto; }
#ph-island .stage > .ph-island-back.is-instant { transition: none; }
#ph-island .stage > .ph-island-back[hidden] { display: none !important; }
#ph-island .stage > .ph-island-back > img {
  position: absolute;
  max-width: none;
  object-fit: contain;
  object-position: 50% 50%;
  opacity: 0;
  transition: opacity .35s ease-out;
}
#ph-island .stage > .ph-island-back[data-loaded] > img { opacity: 1; }
:root[data-bh-alt] #ph-island .stage > .ph-island-back { filter: url(#ph-island-duo); }
@media (prefers-reduced-motion: reduce) {
  #ph-island .stage > .ph-island-back,
  #ph-island .stage > .ph-island-back > img { transition: none; }
}

/* The way back to the front beside the 2D / 3D switch, while the back beach is shown (both modes). */
#ph-island .ph-featured-route .mode-bar .ph-island-front[hidden] { display: none; }

/* 離れ小島のパグ's chapters above the switch on the back beach, only once the series is published and verified: one
   small white note in the site's ink, never more than a line per link. */
#ph-island .ph-hud .ph-back-pug {
  align-self: flex-start;
  max-width: min(22rem, 92vw);
  padding: .5em .75em;
  background: var(--color_bg, #fff);
  border: 1px solid var(--color_main, #2517c8);
  border-radius: var(--swl-radius--4, 4px);
  color: var(--color_text, #333);
  font-size: .8125rem;
  line-height: 1.5;
  pointer-events: auto;
}
#ph-island .ph-hud .ph-back-pug[hidden] { display: none; }
#ph-island .ph-back-pug__name { margin: 0 0 .2em; font-weight: 700; color: var(--color_main, #2517c8); }
#ph-island .ph-back-pug__links { display: flex; flex-direction: column; gap: .1em; }
#ph-island .ph-back-pug__link {
  display: flex;
  gap: .6em;
  align-items: center;
  min-height: 40px;
  color: var(--color_link, #1176d4);
}
#ph-island .ph-back-pug__title {
  min-width: 0;
  overflow: hidden;
  color: var(--color_text, #333);
  font-size: .9em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

