/* Three optional games: illustrated invitations with a quieter hierarchy than
   the main guide. Layout stays usable between the fixed app bars. */
.play-hub {max-width:1000px;color:#25495a;}
.play-hub .pl-head {margin:0 0 14px;padding:0 2px;}
.play-hub .pl-title {margin:0;font-family:var(--font-display);font-size:27px;font-weight:700;line-height:1.3;letter-spacing:.04em;color:#2d5a57;}
.play-hub .pl-intro {margin:5px 0 0;font-size:14px;font-weight:700;line-height:1.5;color:#617363;}
.play-hub .pl-games {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0;padding:0;list-style:none;}
.play-hub .pl-games__item {display:flex;min-width:0;margin:0;padding:0;}
.play-hub .pl-card {
  --pl-paper:#eeebfa;--pl-edge:#b5a8cf;--pl-ink:#534371;
  position:relative;isolation:isolate;display:flex;align-items:center;width:100%;min-width:0;min-height:112px;padding:16px;
  overflow:hidden;border:1.5px solid var(--pl-edge);border-radius:19px;
  background-color:var(--pl-paper);background-repeat:no-repeat;background-position:right center;background-size:auto 100%;
  color:var(--pl-ink);box-shadow:0 3px 10px #23454f10;
  font:inherit;text-align:left;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:transform 140ms ease,box-shadow 140ms ease;
}
.play-hub .pl-card::before {content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(90deg,var(--pl-paper) 0%,var(--pl-paper) 45%,transparent 84%);}
.play-hub .pl-card--nazo {background-image:url('../ui/design4-mystery.webp');}
.play-hub .pl-card--gozen {--pl-paper:#fff0ca;--pl-edge:#d3b480;--pl-ink:#78542b;background-image:url('../ui/design4-food.webp');}
.play-hub .pl-card--story {--pl-paper:#e0f0f5;--pl-edge:#95bac6;--pl-ink:#2f627a;background-image:url('../ui/design4-story.webp');}
.play-hub .pl-card__copy {position:relative;z-index:1;display:flex;flex-direction:column;gap:7px;max-width:65%;min-width:0;}
.play-hub .pl-card__title {font-family:var(--font-display);font-size:22px;font-weight:700;line-height:1.3;letter-spacing:.02em;text-shadow:0 1px #fff7;}
.play-hub .pl-card__note {font-size:13px;font-weight:700;line-height:1.45;word-break:keep-all;overflow-wrap:anywhere;color:var(--pl-ink);}
.play-hub .pl-card__go {position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:27px;height:27px;border:1px solid #fff9;border-radius:50%;background:#fffdf0e8;color:var(--pl-ink);pointer-events:none;}
.play-hub .pl-card__go .c-icon {width:17px;height:17px;}
.play-hub .pl-card:focus-visible,.play-hub .pl-back:focus-visible {outline:3px solid var(--focus,#197ba0);outline-offset:3px;}
.play-hub .pl-card:active {transform:translateY(1px);box-shadow:0 1px 4px #23454f18;}
.play-hub .pl-back {display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:44px;margin-top:14px;padding:8px 12px;border:1px solid #c3d4bd;border-radius:13px;background:#f6faed;color:#496849;text-decoration:none;font-size:15px;font-weight:700;line-height:1.3;}
.play-hub .pl-back .c-icon {width:19px;height:19px;flex:none;}
@media (hover:hover) {
  .play-hub .pl-card:hover {box-shadow:0 5px 15px #23454f20;}
  .play-hub .pl-back:hover {background:#edf4dd;}
}
@media (max-width:599px) and (max-height:700px) {
  .play-hub .pl-head {margin-bottom:10px;}
  .play-hub .pl-title {font-size:25px;}
  .play-hub .pl-intro {margin-top:3px;font-size:13px;}
  .play-hub .pl-games {gap:10px;}
  .play-hub .pl-card {min-height:88px;padding:12px 13px;border-radius:17px;}
  .play-hub .pl-card__copy {gap:4px;max-width:67%;}
  .play-hub .pl-card__title {font-size:20px;}
  .play-hub .pl-card__note {font-size:12px;line-height:1.4;}
  .play-hub .pl-back {margin-top:10px;}
}
@media (min-width:760px) and (min-height:500px) {
  .play-hub .pl-head {margin:6px 0 20px;}
  .play-hub .pl-games {grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
  .play-hub .pl-card {min-height:220px;align-items:flex-end;padding:18px;background-position:right top;background-size:auto 78%;}
  .play-hub .pl-card::before {background:linear-gradient(0deg,var(--pl-paper) 0%,var(--pl-paper) 28%,transparent 73%);}
  .play-hub .pl-card__copy {max-width:calc(100% - 17px);}
  .play-hub .pl-card__go {right:12px;bottom:17px;}
  .play-hub .pl-back {max-width:330px;margin:22px auto 0;}
}
@media (orientation:landscape) and (max-height:499px) {
  .play-hub .pl-head {display:flex;align-items:baseline;gap:16px;margin:0 0 10px;}
  .play-hub .pl-title {font-size:24px;flex:none;}
  .play-hub .pl-intro {margin:0;font-size:13px;}
  .play-hub .pl-games {grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
  .play-hub .pl-card {min-height:150px;align-items:flex-end;padding:10px;background-position:right top;background-size:auto 76%;border-radius:17px;}
  .play-hub .pl-card::before {background:linear-gradient(0deg,var(--pl-paper) 0%,var(--pl-paper) 30%,transparent 83%);}
  .play-hub .pl-card__copy {max-width:100%;gap:4px;padding-bottom:4px;}
  .play-hub .pl-card__title {font-size:18px;}
  .play-hub .pl-card__note {font-size:12px;line-height:1.4;max-width:calc(100% - 12px);}
  .play-hub .pl-card__go {right:7px;bottom:9px;width:22px;height:22px;}
  .play-hub .pl-back {max-width:330px;margin:10px auto 0;}
}
@media (prefers-reduced-motion:reduce) {
  .play-hub .pl-card {transition:none;}
}
