:root{color-scheme:light;font-family:system-ui,-apple-system,"Noto Sans TC",sans-serif;color:#000;background:#fff}
*{box-sizing:border-box}body{margin:0}
main{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:24px 16px}
.portal-shell{width:min(100%,520px)}
.portal-controls{display:flex;justify-content:flex-end;margin-bottom:12px}
.portal-controls label{display:flex;align-items:center;gap:8px;font-size:.875rem}
.portal-controls select{font:inherit;color:inherit;background:#fff;border:1px solid currentColor;border-radius:0;min-height:44px;padding:6px 8px}
.entrances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,3vw,20px)}
.tile{color:inherit;text-decoration:none;border:1px solid currentColor;aspect-ratio:1;display:grid;grid-template-rows:55% 1fr;justify-items:center;align-items:center;text-align:center;padding:clamp(5px,2vw,20px);gap:4px;font-size:clamp(.875rem,3.5vw,1.125rem);font-weight:700;line-height:1.22;overflow-wrap:anywhere}
.tile:hover{background:#f5f5f5}
.tile:focus-visible,select:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.icon{width:min(46%,88px);aspect-ratio:4/5;display:block}
.icon>svg,.icon>img{display:block;width:100%;height:100%}
